From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 26 Nov 2019 19:53:45 +0100 Subject: API documentation for KVision 2.4.0 --- api/pl.treksoft.kvision.modal/-modal/-init-.html | 6 ++++-- api/pl.treksoft.kvision.modal/-modal/centered.html | 15 +++++++++++++++ api/pl.treksoft.kvision.modal/-modal/index.html | 20 ++++++++++++++++++-- 3 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 api/pl.treksoft.kvision.modal/-modal/centered.html (limited to 'api/pl.treksoft.kvision.modal/-modal') diff --git a/api/pl.treksoft.kvision.modal/-modal/-init-.html b/api/pl.treksoft.kvision.modal/-modal/-init-.html index cf58d374..3485a723 100644 --- a/api/pl.treksoft.kvision.modal/-modal/-init-.html +++ b/api/pl.treksoft.kvision.modal/-modal/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.modal / Modal / <init>

<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

caption - window title

@@ -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 @@ + + + +Modal.centered - kvision + + + +kvision / pl.treksoft.kvision.modal / Modal / centered
+
+

centered

+ +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 @@

<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) @@ -45,6 +45,15 @@ +

centered

+ + +var centered: Boolean +

Determines if modal dialog is vertically centered.

+ + + +

closeButton

@@ -589,6 +598,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

p

@@ -903,7 +919,7 @@

tabulatorRemote

-fun <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.

-- cgit