From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 21 Oct 2018 23:59:34 +0200 Subject: API documentation for KVision 0.0.19 --- .../-tab-panel/index.html | 155 --------------------- 1 file changed, 155 deletions(-) delete mode 100644 api/pl.treksoft.kvision.panel/-tab-panel/index.html (limited to 'api/pl.treksoft.kvision.panel/-tab-panel/index.html') diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/index.html b/api/pl.treksoft.kvision.panel/-tab-panel/index.html deleted file mode 100644 index e460c144..00000000 --- a/api/pl.treksoft.kvision.panel/-tab-panel/index.html +++ /dev/null @@ -1,155 +0,0 @@ - - - -TabPanel - kvision - - - -kvision / pl.treksoft.kvision.panel / TabPanel
-
-

TabPanel

-open class TabPanel : SimplePanel -

The container rendering it's children as tabs.

-

It supports activating children by a JavaScript route.

-

Constructors

- - - - - - - -
-

<init>

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

Properties

- - - - - - - -
-

activeIndex

-
-var activeIndex: Int -

The index of active (visible) tab.

-
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-open fun add(child: Component): TabPanel -

Adds given component to the current container.

-
-

addAll

-
-open fun addAll(children: List<Component>): TabPanel -

Adds a list of components to the current container.

-
-

addTab

-
-open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel -

Adds new tab and optionally bounds it's activation to a given route.

-
-

remove

-
-open fun remove(child: Component): TabPanel -

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): TabPanel -

Removes all children from the current container.

-
-

removeTab

-
-open fun removeTab(index: Int): TabPanel -

Removes tab at given index.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - -
-

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.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

Companion Object Functions

- - - - - - - -
-

tabPanel

-
-fun Container.tabPanel(classes: Set<String> = setOf(), init: TabPanel.() -> Unit = null): TabPanel -

DSL builder extension function.

-
- - -- cgit