From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-split-panel/-init-.html | 21 ++++ .../-split-panel/children-v-nodes.html | 18 ++++ .../-split-panel/index.html | 110 +++++++++++++++++++++ 3 files changed, 149 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.panel/-split-panel/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-split-panel/children-v-nodes.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-split-panel/index.html (limited to 'docs/api/pl.treksoft.kvision.panel/-split-panel') diff --git a/docs/api/pl.treksoft.kvision.panel/-split-panel/-init-.html b/docs/api/pl.treksoft.kvision.panel/-split-panel/-init-.html new file mode 100644 index 00000000..7795464c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-split-panel/-init-.html @@ -0,0 +1,21 @@ + + + +SplitPanel.<init> - kvision + + + +kvision / pl.treksoft.kvision.panel / SplitPanel / <init>
+
+

<init>

+ +SplitPanel(direction: DIRECTION = DIRECTION.VERTICAL, classes: Set<String> = setOf()) +

Parameters

+

+direction - direction of the splitter

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-split-panel/children-v-nodes.html b/docs/api/pl.treksoft.kvision.panel/-split-panel/children-v-nodes.html new file mode 100644 index 00000000..8f683d11 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-split-panel/children-v-nodes.html @@ -0,0 +1,18 @@ + + + +SplitPanel.childrenVNodes - kvision + + + +kvision / pl.treksoft.kvision.panel / SplitPanel / childrenVNodes
+
+

childrenVNodes

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

Overrides SimplePanel.childrenVNodes

+

Returns the array of the children Snabbdom vnodes.

+

Return
+array of children vnodes

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-split-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-split-panel/index.html new file mode 100644 index 00000000..a619c945 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-split-panel/index.html @@ -0,0 +1,110 @@ + + + +SplitPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / SplitPanel
+
+

SplitPanel

+open class SplitPanel : SimplePanel +

The container with draggable splitter.

+

It is required to have exactly two children, for both sides of the splitter. Otherwise it will be +rendered as empty.

+

Constructors

+ + + + + + + +
+

<init>

+
+SplitPanel(direction: DIRECTION = DIRECTION.VERTICAL, classes: Set<String> = setOf())
+

Functions

+ + + + + + + +
+

childrenVNodes

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

Returns the array of the children Snabbdom vnodes.

+
+

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.

+
+

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.

+
+ + -- cgit