From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+ Constructor DSL builder extension function. It takes the same parameters as the constructor of the built component. Overrides Widget.getSnClass Returns list of CSS class names for current widget in the form of a List. Return The Bootstrap button group. Button group size. Button group style. Returns list of CSS class names for current widget in the form of a List. Adds given component to the current container. Adds a list of components to the current container. Protected and final method to add given component to the current container. Returns the array of the children Snabbdom vnodes. Returns a list of children of the current container. Removes given component from the current container. Removes all children from the current container. Renders current component as a Snabbdom vnode. DSL builder extension function. Helper function for creating JavaScript objects from dynamic constructors. Button group size. Getter Button group size.
+
+<init>
+
+ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)
+Parameters
+
+
+classes
- a set of CSS class namesinit
- an initializer extension function
+
+
+buttonGroup
+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+
+
+getSnClass
+
+protected open fun getSnClass(): List<StringBoolPair>
+
+list of CSS class names
+
+ButtonGroup
+open class ButtonGroup : SimplePanel
+Constructors
+
+
+
+
+
+
+
+
+
+
+
+ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)
Properties
+
+
+
+
+
+
+
+
+
+
+var size: ButtonGroupSize?
+
+
+
+
+
+
+
+
+var style: ButtonGroupStyle?
+Functions
+
+
+
+
+
+
+
+
+
+
+
+open fun getSnClass(): List<StringBoolPair>
+Inherited Functions
+
+
+
+
+
+
+
+
+
+
+open fun add(child: Component): SimplePanel
+
+
+
+
+
+
+
+open fun addAll(children: List<Component>): SimplePanel
+
+
+
+
+
+
+
+fun addInternal(child: Component): SimplePanel
+
+
+
+
+
+
+
+open fun childrenVNodes(): Array<VNode>
+
+
+
+
+
+
+
+open fun getChildren(): List<Component>
+
+
+
+
+
+
+
+open fun remove(child: Component): SimplePanel
+
+
+
+
+
+
+
+open fun removeAll(): SimplePanel
+
+
+
+
+
+
+
+
+open fun render(): VNode
+Companion Object Functions
+
+
+
+
+
+
+
+
+
+
+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+Extension Functions
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/size.html b/api1/pl.treksoft.kvision.toolbar/-button-group/size.html
new file mode 100644
index 00000000..7df5d98c
--- /dev/null
+++ b/api1/pl.treksoft.kvision.toolbar/-button-group/size.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+fun <T> Any?.createInstance(vararg args: dynamic): T
+
+
+size
+
+var size: ButtonGroupSize?
+
+
Setter
+
Button group size.
+ + + diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/style.html b/api1/pl.treksoft.kvision.toolbar/-button-group/style.html new file mode 100644 index 00000000..6797cd38 --- /dev/null +++ b/api1/pl.treksoft.kvision.toolbar/-button-group/style.html @@ -0,0 +1,21 @@ + + + +var style: ButtonGroupStyle?
+Button group style.
+Getter
+
Button group style.
+ +Setter
+
Button group style.
+ + + -- cgit