From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
+
+Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
Parameters
@@ -19,6 +19,8 @@
size - modal window size
animation - determines if animations are used
+centered - determines if modal dialog is vertically centered
escape - determines if dialog can be closed with Esc key
diff --git a/api/pl.treksoft.kvision.modal/-modal/centered.html b/api/pl.treksoft.kvision.modal/-modal/centered.html new file mode 100644 index 00000000..5eda65c7 --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-modal/centered.html @@ -0,0 +1,15 @@ + +
+ +var centered: Boolean
+Determines if modal dialog is vertically centered.
+ + diff --git a/api/pl.treksoft.kvision.modal/-modal/index.html b/api/pl.treksoft.kvision.modal/-modal/index.html index f2dec82e..477778ed 100644 --- a/api/pl.treksoft.kvision.modal/-modal/index.html +++ b/api/pl.treksoft.kvision.modal/-modal/index.html @@ -18,7 +18,7 @@Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, classes: Set<String> = setOf(), init: (Modal.() -> Unit)? = null)
@@ -45,6 +45,15 @@
var centered: Boolean
+Determines if modal dialog is vertically centered.
+fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widgetfun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
DSL builder extension function.