From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001
From: Robert Jaros 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.
SplitPanel
-open class SplitPanel : SimplePanel
+(js) open class SplitPanel : SimplePanel
SplitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null)| - - | -
-val children: MutableList<Component> |
-
-
+(js)
+childrenVNodes |
-open fun childrenVNodes(): Array<VNode>
Returns the array of the children Snabbdom vnodes. - |
-
| - - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
| - - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
| - - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
| - - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
| - - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
| - - | -
-open fun removeAll(): SimplePanel
-Removes all children from 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: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
DSL builder extension function.
-fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init