From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001
From: Robert Jaros
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html b/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html
index 0d9db186..583548df 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html
@@ -8,9 +8,8 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / addAll Overrides SimplePanel.addAll Adds a list of components to the current container.
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/add.html b/api/pl.treksoft.kvision.panel/-flex-panel/add.html
index fe953bd6..68b02903 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/add.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/add.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / add Adds a component to the flexbox container.
<init>
-
+(js)
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null)
Parameters
addAll
-
+(js)
open fun addAll(children: List<Component>): FlexPanel
-Parameters
add
-
+(js)
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
Parameters
@@ -26,9 +26,8 @@
alignSelf - child self alignment
classes - a set of CSS class names
open fun add(child: Component): FlexPanel
-Overrides SimplePanel.add
Adds given component to the current container.
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html b/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html
index f4df572f..ba24818f 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / alignContent
var alignContent: FlexAlignContent?
CSS flexbox content alignment.
Getter
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html b/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html
index b6d46129..d773ee6d 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / alignItems
var alignItems: FlexAlignItems?
CSS flexbox items alignment.
Getter
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/direction.html b/api/pl.treksoft.kvision.panel/-flex-panel/direction.html
index b4cb415a..115f6393 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/direction.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/direction.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / direction
var direction: FlexDir?
CSS flexbox direction.
Getter
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html b/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html
index 32fccbed..e3c6dab7 100644
--- a/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html
+++ b/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html
@@ -8,9 +8,8 @@
kvision / pl.treksoft.kvision.panel / FlexPanel / getSnStyle
protected open fun getSnStyle(): List<StringPair>
-Overrides StyledComponent.getSnStyle
Returns the list of String pairs defining CSS style attributes and their values.
Return
the list of attributes and their values
open class FlexPanel : SimplePanel
+(js) open class FlexPanel : SimplePanel
The container with CSS flexbox layout support.
-
+(js)
+<init> |
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null) |
@@ -27,69 +28,57 @@
-
+(js)
+alignContent |
-var alignContent: FlexAlignContent?
CSS flexbox content alignment. - |
+
-
+(js)
+alignItems |
-var alignItems: FlexAlignItems?
CSS flexbox items alignment. - |
+
-
+(js)
+direction |
-var direction: FlexDir?
CSS flexbox direction. - |
+
-
+(js)
+justify |
-var justify: FlexJustify?
CSS flexbox content justification. - |
+
-
+(js)
+spacing |
-var spacing: Int?
The spacing between columns/rows. - |
+
-
+(js)
+wrap |
-var wrap: FlexWrap?
CSS flexbox wrap mode. - |
-
| - - | -
-val children: MutableList<Component> |
+
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
Adds a component to the flexbox container.
-open fun add(child: Component): FlexPanel
+fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
Adds given component to the current container.
-open fun add(child: Component): FlexPanel
open fun addAll(children: List<Component>): FlexPanel
Adds a list of components to the current container.
-open fun addAll(children: List<Component>): FlexPanel
open fun getSnStyle(): List<StringPair>
Returns the list of String pairs defining CSS style attributes and their values.
-open fun getSnStyle(): List<StringPair>
open fun remove(child: Component): FlexPanel
Removes given component from the current container.
-open fun remove(child: Component): FlexPanel
open fun removeAll(): FlexPanel
Removes all children from the current container.
-| - - | -
-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