From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- .../-split-panel/index.html | 124 +++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 api/pl.treksoft.kvision.panel/-split-panel/index.html (limited to 'api/pl.treksoft.kvision.panel/-split-panel/index.html') diff --git a/api/pl.treksoft.kvision.panel/-split-panel/index.html b/api/pl.treksoft.kvision.panel/-split-panel/index.html new file mode 100644 index 00000000..89d1c07b --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-split-panel/index.html @@ -0,0 +1,124 @@ + + + +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(), init: SplitPanel.() -> Unit = null)
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

splitPanel

+
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: SplitPanel.() -> Unit = null): SplitPanel +

DSL builder extension function.

+
+ + -- cgit