show
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: <Error class: unknown class>? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit? = null, yesCallback: () -> Unit? = null)
Helper function for opening Confirm window.
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
cancel Visible
determines if Cancel button is visible
no Callback
a function called after closing window with No button
yes Callback
a function called after closing window with Yes button