alert

fun alert(caption: String? = null, content: String? = null, rich: Boolean = false, size: ModalSize? = null, fullscreenMode: FullscreenMode? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, okTitle: String = "OK", okIcon: String? = "fas fa-check", callback: () -> Unit? = null)

Shows the alert dialog.

Parameters

caption

the caption of the alert dialog

content

the content of the alert dialog

rich

determines if the window should display rich HTML content

size

the size of the modal window

fullscreenMode

the fullscreen mode of the modal window

animation

determines if the modal window is animated

centered

determines if the modal window is vertically centered

scrollable

determines if the modal window content is scrollable

okTitle

the title of the OK button

okIcon

the icon of the OK button

callback

the callback function that is called when the alert window is hidden