From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001
From: Robert Jaros
diff --git a/api/pl.treksoft.kvision.panel/-dock-panel/add-all.html b/api/pl.treksoft.kvision.panel/-dock-panel/add-all.html
index 5de27e01..50846bb9 100644
--- a/api/pl.treksoft.kvision.panel/-dock-panel/add-all.html
+++ b/api/pl.treksoft.kvision.panel/-dock-panel/add-all.html
@@ -8,9 +8,8 @@
kvision / pl.treksoft.kvision.panel / DockPanel / addAll Overrides SimplePanel.addAll Adds a list of components to the current container.
diff --git a/api/pl.treksoft.kvision.panel/-dock-panel/add.html b/api/pl.treksoft.kvision.panel/-dock-panel/add.html
index 01e6a4e4..193dbfde 100644
--- a/api/pl.treksoft.kvision.panel/-dock-panel/add.html
+++ b/api/pl.treksoft.kvision.panel/-dock-panel/add.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.panel / DockPanel / add Adds a component to the dock container.
<init>
-
+(js)
DockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null)
Parameters
addAll
-
+(js)
open fun addAll(children: List<Component>): DockPanel
-Parameters
add
-
+(js)
open fun add(child: Component, position: Side): DockPanel
Parameters
@@ -18,9 +18,8 @@
position - position in the dock
Return
current container
open fun add(child: Component): DockPanel
-Overrides SimplePanel.add
Adds given component to the current container.
diff --git a/api/pl.treksoft.kvision.panel/-dock-panel/index.html b/api/pl.treksoft.kvision.panel/-dock-panel/index.html
index 93345c17..18a39f7f 100644
--- a/api/pl.treksoft.kvision.panel/-dock-panel/index.html
+++ b/api/pl.treksoft.kvision.panel/-dock-panel/index.html
@@ -8,122 +8,70 @@
kvision / pl.treksoft.kvision.panel / DockPanel
open class DockPanel : SimplePanel
+(js) open class DockPanel : SimplePanel
The container with dock layout (up, down, left, right and center positions).
-
+(js)
+<init> |
DockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null) |
| - - | -
-val children: MutableList<Component> |
-
-
+(js)
+add |
-open fun add(child: Component, position: Side): DockPanel
Adds a component to the dock container. -open fun add(child: Component): DockPanel
+open fun add(child: Component, position: Side): DockPanel
Adds given component to the current container. - |
+
-
+(js)
+addAll |
-open fun addAll(children: List<Component>): DockPanel
Adds a list of components to the current container. - |
+
-
+(js)
+remove |
-open fun remove(child: Component): DockPanel
Removes given component from the current container. - |
+
-
+(js)
+removeAll |
-open fun removeAll(): DockPanel
Removes all children from the current container. - |
+
-
+(js)
+removeAt |
-open fun removeAt(position: Side): DockPanel
Removes child from given position in the dock. - |
-
| - - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
| - - | -
-open fun childrenVNodes(): Array<VNode>
-Returns the array of the children Snabbdom vnodes. - |
-
| - - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
| - - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
+
val <T : Widget> T.changeFlow: <ERROR CLASS><T>val <T : Widget> T.changeFlow: Flow<T>
val <T : Widget> T.clickFlow: <ERROR CLASS><T>val <T : Widget> T.clickFlow: Flow<T>
val <T : Widget> T.inputFlow: <ERROR CLASS><T>val <T : Widget> T.inputFlow: Flow<T>
fun Component.addBsBgColor(bsBgColor: BsBgColor): Unitfun Component.addBsBorder(vararg bsBorder: BsBorder): Unitfun Component.addBsClearfix(): Unitfun Component.addBsColor(bsColor: BsColor): Unitfun Component.addBsRounded(vararg bsRounded: BsRounded): Unitfun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
DSL builder extension function.
-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
DSL builder extension function.
-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
DSL builder extension function.
-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
DSL builder extension function.
-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
DSL builder extension function.
-fun Container.chart(configuration: Configuration, chartWidth