Modal
constructor(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, escape: Boolean = true, backdrop: ModalBackdrop? = null, className: String? = null, init: Modal.() -> Unit? = null)(source)
Parameters
caption
window title
closeButton
determines if Close button is visible
size
modal window size
animation
determines if animations are used
centered
determines if modal dialog is vertically centered
scrollable
determines if modal dialog content is scrollable
escape
determines if dialog can be closed with Esc key
backdrop
the backdrop behavior, if TRUE then the backdrop is included and modal can be closed by clicking on it, if FALSE then no backdrop is added, if STATIC then the backdrop is included but modal cannot be closed by clicking on it
className
CSS class names
init
an initializer extension function