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

<init>

Dialog(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Dialog<R>.() -> Unit)? = null)

Parameters

caption - window title

closeButton - determines if Close button is visible

size - modal window size

animation - determines if animations are used

escape - determines if dialog can be closed with Esc key

centered - determines if modal dialog is vertically centered

classes - a set of CSS class names

init - an initializer extension function

Constructor