From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-button-group/-init-.html | 25 +++ .../-button-group/button-group.html | 16 ++ .../-button-group/get-sn-class.html | 18 +++ .../-button-group/index.html | 168 +++++++++++++++++++++ .../-button-group/size.html | 21 +++ .../-button-group/style.html | 21 +++ 6 files changed, 269 insertions(+) create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/-init-.html create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/button-group.html create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/index.html create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/size.html create mode 100644 api1/pl.treksoft.kvision.toolbar/-button-group/style.html (limited to 'api1/pl.treksoft.kvision.toolbar/-button-group') diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/-init-.html b/api1/pl.treksoft.kvision.toolbar/-button-group/-init-.html new file mode 100644 index 00000000..0f2ef051 --- /dev/null +++ b/api1/pl.treksoft.kvision.toolbar/-button-group/-init-.html @@ -0,0 +1,25 @@ + + + +ButtonGroup.<init> - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / <init>
+
+

<init>

+ +ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null) +

Parameters

+

+size - button group size

+

+style - button group style

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/button-group.html b/api1/pl.treksoft.kvision.toolbar/-button-group/button-group.html new file mode 100644 index 00000000..e1ab19e5 --- /dev/null +++ b/api1/pl.treksoft.kvision.toolbar/-button-group/button-group.html @@ -0,0 +1,16 @@ + + + +ButtonGroup.buttonGroup - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / buttonGroup
+
+

buttonGroup

+ +fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html b/api1/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html new file mode 100644 index 00000000..aeab6d5d --- /dev/null +++ b/api1/pl.treksoft.kvision.toolbar/-button-group/get-sn-class.html @@ -0,0 +1,18 @@ + + + +ButtonGroup.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / getSnClass
+
+

getSnClass

+ +protected open fun getSnClass(): List<StringBoolPair> +

Overrides Widget.getSnClass

+

Returns list of CSS class names for current widget in the form of a List.

+

Return
+list of CSS class names

+ + diff --git a/api1/pl.treksoft.kvision.toolbar/-button-group/index.html b/api1/pl.treksoft.kvision.toolbar/-button-group/index.html new file mode 100644 index 00000000..752c1890 --- /dev/null +++ b/api1/pl.treksoft.kvision.toolbar/-button-group/index.html @@ -0,0 +1,168 @@ + + + +ButtonGroup - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup
+
+

ButtonGroup

+open class ButtonGroup : SimplePanel +

The Bootstrap button group.

+

Constructors

+ + + + + + + +
+

<init>

+
+ButtonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null)
+

Properties

+ + + + + + + + + + + +
+

size

+
+var size: ButtonGroupSize? +

Button group size.

+
+

style

+
+var style: ButtonGroupStyle? +

Button group style.

+
+

Functions

+ + + + + + + +
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+open fun add(child: Component): SimplePanel +

Adds given component to the current container.

+
+

addAll

+
+open fun addAll(children: List<Component>): SimplePanel +

Adds a list of components to the current container.

+
+

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.

+
+

remove

+
+open fun remove(child: Component): SimplePanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

buttonGroup

+
+fun Container.buttonGroup(size: ButtonGroupSize? = null, style: ButtonGroupStyle? = null, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup +

DSL builder extension function.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + 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 @@ + + + +ButtonGroup.size - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / size
+
+

size

+ +var size: ButtonGroupSize? +

Button group size.

+

Getter
+

Button group size.

+

+

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 @@ + + + +ButtonGroup.style - kvision + + + +kvision / pl.treksoft.kvision.toolbar / ButtonGroup / style
+
+

style

+ +var style: ButtonGroupStyle? +

Button group style.

+

Getter
+

Button group style.

+

+

Setter
+

Button group style.

+

+ + -- cgit