From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 22 Oct 2018 00:01:39 +0200 Subject: API documentation for KVision 0.0.19 --- .../-toolbar/-init-.html | 21 ++++ .../-toolbar/index.html | 117 +++++++++++++++++++++ .../-toolbar/toolbar.html | 16 +++ 3 files changed, 154 insertions(+) create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/index.html create mode 100644 api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html (limited to 'api/pl.treksoft.kvision.toolbar/-toolbar') diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html new file mode 100644 index 00000000..204b5b01 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/-init-.html @@ -0,0 +1,21 @@ + + + +Toolbar.<init> - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / <init>
+
+

<init>

+ +Toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null) +

Parameters

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/index.html b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html new file mode 100644 index 00000000..bb1c3757 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/index.html @@ -0,0 +1,117 @@ + + + +Toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar
+
+

Toolbar

+open class Toolbar : SimplePanel +

The Bootstrap toolbar.

+

Constructors

+ + + + + + + +
+

<init>

+
+Toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null)
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+open fun add(child: Component): SimplePanel +

Adds given component to the current container.

+
+

addAll

+
+open fun addAll(children: List<Component>): SimplePanel +

Adds a list of components to the current container.

+
+

addInternal

+
+fun addInternal(child: Component): SimplePanel +

Protected and final method to add given component to the current container.

+
+

childrenVNodes

+
+open fun childrenVNodes(): Array<VNode> +

Returns the array of the children Snabbdom vnodes.

+
+

getChildren

+
+open fun getChildren(): List<Component> +

Returns a list of children of the current container.

+
+

remove

+
+open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

toolbar

+
+fun Container.toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null): Toolbar +

DSL builder extension function.

+
+ + diff --git a/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html b/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html new file mode 100644 index 00000000..21bcfa63 --- /dev/null +++ b/api/pl.treksoft.kvision.toolbar/-toolbar/toolbar.html @@ -0,0 +1,16 @@ + + + +Toolbar.toolbar - kvision + + + +kvision / pl.treksoft.kvision.toolbar / Toolbar / toolbar
+
+

toolbar

+ +fun Container.toolbar(classes: Set<String> = setOf(), init: Toolbar.() -> Unit = null): Toolbar +

DSL builder extension function.

+

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

+ + -- cgit