fun show(: String? = null, text: String? = null, rich: Boolean = false, align: Align? = 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): Unit
Helper function for opening Confirm window.
rich
- determines if text can contain HTML code
animation
- determines if animations are used
centered
- determines if modal dialog is vertically centered
cancelVisible
- determines if Cancel button is visible
noCallback
- a function called after closing window with No button
yesCallback
- a function called after closing window with Yes button