From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-tabulator-remote/-init-.html | 4 +- .../-tabulator-remote/index.html | 101 +++++++++++++++++++-- .../-tabulator-remote/tabulator-remote.html | 16 ---- 3 files changed, 94 insertions(+), 27 deletions(-) delete mode 100644 api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html (limited to 'api/pl.treksoft.kvision.tabulator/-tabulator-remote') diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html index b3dfa525..2d5a4b7e 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / <init>

<init>

- -TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) + +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())

Parameters

T - type of row data

diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html index f1708cd1..65665136 100644 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html +++ b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/index.html @@ -18,7 +18,7 @@

<init>

-TabulatorRemote(serviceManager: KVServiceManager<E>, function: E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?) -> <ERROR CLASS><T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf()) +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()) @@ -499,23 +499,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

tabulatorRemote

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: 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 Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -525,6 +555,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
diff --git a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html b/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html deleted file mode 100644 index 37da6f22..00000000 --- a/api/pl.treksoft.kvision.tabulator/-tabulator-remote/tabulator-remote.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TabulatorRemote.tabulatorRemote - kvision - - - -kvision / pl.treksoft.kvision.tabulator / TabulatorRemote / tabulatorRemote
-
-

tabulatorRemote

- -fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: 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> -

DSL builder extension function.

-

It takes the same parameters as the constructor of the built component.

- - -- cgit