kvision / pl.treksoft.kvision.toast / ToastOptions

ToastOptions

(js) data class ToastOptions

Toast options.

Constructors

(js)

<init>

Toast options.

ToastOptions(positionClass: ToastPosition? = null, escapeHtml: Boolean? = null, closeButton: Boolean? = null, closeHtml: String? = null, closeDuration: Int? = null, newestOnTop: Boolean? = null, showEasing: ToastEasing? = null, hideEasing: ToastEasing? = null, closeEasing: ToastEasing? = null, showMethod: ToastMethod? = null, hideMethod: ToastMethod? = null, closeMethod: ToastMethod? = null, preventDuplicates: Boolean? = null, timeOut: Int? = null, extendedTimeOut: Int? = null, progressBar: Boolean? = null, rtl: Boolean? = null, onShown: (() -> Unit)? = null, onHidden: (() -> Unit)? = null, onClick: (() -> Unit)? = null, onCloseClick: (() -> Unit)? = null)

Properties

(js)

closeButton

val closeButton: Boolean?
(js)

closeDuration

val closeDuration: Int?
(js)

closeEasing

val closeEasing: ToastEasing?
(js)

closeHtml

val closeHtml: String?
(js)

closeMethod

val closeMethod: ToastMethod?
(js)

escapeHtml

val escapeHtml: Boolean?
(js)

extendedTimeOut

val extendedTimeOut: Int?
(js)

hideEasing

val hideEasing: ToastEasing?
(js)

hideMethod

val hideMethod: ToastMethod?
(js)

newestOnTop

val newestOnTop: Boolean?
(js)

onClick

val onClick: (() -> Unit)?
(js)

onCloseClick

val onCloseClick: (() -> Unit)?
(js)

onHidden

val onHidden: (() -> Unit)?
(js)

onShown

val onShown: (() -> Unit)?
(js)

positionClass

val positionClass: ToastPosition?
(js)

preventDuplicates

val preventDuplicates: Boolean?
(js)

progressBar

val progressBar: Boolean?
(js)

rtl

val rtl: Boolean?
(js)

showEasing

val showEasing: ToastEasing?
(js)

showMethod

val showMethod: ToastMethod?
(js)

timeOut

val timeOut: Int?