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 --- .../-simple-panel/index.html | 47 +++++++++++++++++++--- 1 file changed, 41 insertions(+), 6 deletions(-) (limited to 'api/pl.treksoft.kvision.panel/-simple-panel/index.html') diff --git a/api/pl.treksoft.kvision.panel/-simple-panel/index.html b/api/pl.treksoft.kvision.panel/-simple-panel/index.html index 453cfd94..30b6e49c 100644 --- a/api/pl.treksoft.kvision.panel/-simple-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-simple-panel/index.html @@ -231,7 +231,14 @@ open fun addCssClass(css: String): Widget

Adds given value to the set of CSS classes generated in html code of current component.

-open fun addCssClass(css: Style): Widget + + + + +

addCssStyle

+ + +open fun addCssStyle(css: Style): Widget

Adds given style object to the set of CSS classes generated in html code of current component.

@@ -242,7 +249,14 @@ open fun addSurroundingCssClass(css: String): Widget

Adds given value to the set of CSS classes generated in html code of parent component.

-open fun addSurroundingCssClass(css: Style): Widget + + + + +

addSurroundingCssStyle

+ + +open fun addSurroundingCssStyle(css: Style): Widget

Adds given style object to the set of CSS classes generated in html code of parent component.

@@ -457,7 +471,14 @@ open fun removeCssClass(css: String): Widget

Removes given value from the set of CSS classes generated in html code of current component.

-open fun removeCssClass(css: Style): Widget + + + + +

removeCssStyle

+ + +open fun removeCssStyle(css: Style): Widget

Removes given style object from the set of CSS classes generated in html code of current component.

@@ -477,7 +498,14 @@ open fun removeSurroundingCssClass(css: String): Widget

Removes given value from the set of CSS classes generated in html code of parent component.

-open fun removeSurroundingCssClass(css: Style): Widget + + + + +

removeSurroundingCssStyle

+ + +open fun removeSurroundingCssStyle(css: Style): Widget

Removes given style object from the set of CSS classes generated in html code of parent component.

@@ -535,7 +563,7 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Sets an event listener for current widget.

@@ -939,6 +967,13 @@ +

onEvent

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

p

@@ -1253,7 +1288,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