kvision / pl.treksoft.kvision.modal / Alert / <init>

<init>

(js) Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, callback: (() -> Unit)? = null)

Parameters

caption - window title

text - window content text.

rich - determines if text can contain HTML code

align - text align

size - modal window size

animation - determines if animations are used

centered - determines if modal dialog is vertically centered

callback - a function called after closing window with OK button

Constructor