From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- .../-select-opt-group/-init-.html | 27 ++++ .../-select-opt-group/disabled.html | 21 +++ .../-select-opt-group/get-sn-attrs.html | 18 +++ .../-select-opt-group/index.html | 160 +++++++++++++++++++++ .../-select-opt-group/label.html | 21 +++ .../-select-opt-group/max-options.html | 21 +++ .../-select-opt-group/options.html | 21 +++ .../-select-opt-group/render.html | 18 +++ 8 files changed, 307 insertions(+) create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/disabled.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/index.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/label.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/options.html create mode 100644 api/pl.treksoft.kvision.form.select/-select-opt-group/render.html (limited to 'api/pl.treksoft.kvision.form.select/-select-opt-group') diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html new file mode 100644 index 00000000..7545e4e5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html @@ -0,0 +1,27 @@ + + + +SelectOptGroup.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / <init>
+
+

<init>

+ +SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf()) +

Parameters

+

+label - the label of the group

+

+options - an optional list of options (label to value pairs) for the group

+

+maxOptions - maximal number of selected options in the group

+

+disabled - renders a disabled group

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/disabled.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/disabled.html new file mode 100644 index 00000000..dda6a5fb --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/disabled.html @@ -0,0 +1,21 @@ + + + +SelectOptGroup.disabled - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / disabled
+
+

disabled

+ +var disabled: Boolean +

Determines if the group is disabled.

+

Getter
+

Determines if the group is disabled.

+

+

Setter
+

Determines if the group is disabled.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html new file mode 100644 index 00000000..9fd36159 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +SelectOptGroup.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / getSnAttrs
+
+

getSnAttrs

+ +protected open fun getSnAttrs(): List<StringPair> +

Overrides Widget.getSnAttrs

+

Returns list of element attributes in the form of a List.

+

Return
+list of element attributes

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html new file mode 100644 index 00000000..f3a5bc45 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/index.html @@ -0,0 +1,160 @@ + + + +SelectOptGroup - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup
+
+

SelectOptGroup

+open class SelectOptGroup : SimplePanel +

The helper container for adding option groups to Select.

+

The option group can be populated directly from options parameter or manually by adding +SelectOption components to the container.

+

Constructors

+ + + + + + + +
+

<init>

+
+SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf())
+

Properties

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

disabled

+
+var disabled: Boolean +

Determines if the group is disabled.

+
+

label

+
+var label: String +

A label for the group.

+
+

maxOptions

+
+var maxOptions: Int? +

Maximal number of selected options in the group.

+
+

options

+
+var options: List<StringPair>? +

A list of options (label to value pairs) for the group.

+
+

Functions

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

getSnAttrs

+
+open fun getSnAttrs(): List<StringPair> +

Returns list of element attributes in the form of a List.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

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.

+
+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/label.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/label.html new file mode 100644 index 00000000..c529f600 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/label.html @@ -0,0 +1,21 @@ + + + +SelectOptGroup.label - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / label
+
+

label

+ +var label: String +

A label for the group.

+

Getter
+

A label for the group.

+

+

Setter
+

A label for the group.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html new file mode 100644 index 00000000..5f791541 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html @@ -0,0 +1,21 @@ + + + +SelectOptGroup.maxOptions - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / maxOptions
+
+

maxOptions

+ +var maxOptions: Int? +

Maximal number of selected options in the group.

+

Getter
+

Maximal number of selected options in the group.

+

+

Setter
+

Maximal number of selected options in the group.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html new file mode 100644 index 00000000..cc45b6be --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html @@ -0,0 +1,21 @@ + + + +SelectOptGroup.options - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / options
+
+

options

+ +var options: List<StringPair>? +

A list of options (label to value pairs) for the group.

+

Getter
+

A list of options (label to value pairs) for the group.

+

+

Setter
+

A list of options (label to value pairs) for the group.

+

+ + diff --git a/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html b/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html new file mode 100644 index 00000000..745b6d91 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html @@ -0,0 +1,18 @@ + + + +SelectOptGroup.render - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOptGroup / render
+
+

render

+ +protected open fun render(): VNode +

Overrides SimplePanel.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + -- cgit