From f3c9d405382dd81d426c7eab1f6390ec8e6dad00 Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
- Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
- Return Overrides SimplePanel.add Adds given component to the current container. Return Overrides Widget.afterInsert Method called after inserting Snabbdom vnode into the DOM. Additional options for remote (AJAX) data source. Getter Additional options for remote (AJAX) data source.
-
-<init>
-
-SelectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
-Parameters
-options
- an optional list of options (label to value pairs) for the select controlmultiple
- allows multiple value selection (multiple values are comma delimited)ajaxOptions
- additional options for remote (AJAX) data sourceclasses
- a set of CSS class names
-
-
-addAll
-
-open fun addAll(children: List<Component>): SimplePanel
-Parameters
-children
- list of child components
-current container
-
-add
-
-open fun add(child: Component): SimplePanel
-Parameters
-
-
-current container
-
-afterInsert
-
-protected open fun afterInsert(node: VNode): Unit
-
-
-ajaxOptions
-
-var ajaxOptions: AjaxOptions?
-
-
Setter
-
Additional options for remote (AJAX) data source.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html deleted file mode 100644 index cf5cb1ba..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/autofocus.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var autofocus: Boolean?
-Determines if the select is automatically focused.
-Getter
-
Determines if the select is automatically focused.
- -Setter
-
Determines if the select is automatically focused.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html deleted file mode 100644 index d35f83fa..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/disabled.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var disabled: Boolean
-Determines if the field is disabled.
-Getter
-
Determines if the field is disabled.
- -Setter
-
Determines if the field is disabled.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html deleted file mode 100644 index 01cb6058..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/empty-option.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var emptyOption: Boolean
-Determines if an empty option is automatically generated.
-Getter
-
Determines if an empty option is automatically generated.
- -Setter
-
Determines if an empty option is automatically generated.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html deleted file mode 100644 index 371b3bd7..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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
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
open fun hideOptions(): Unit
-Hides dropdown with options.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html deleted file mode 100644 index 2a968dd0..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/index.html +++ /dev/null @@ -1,309 +0,0 @@ - - - -open class SelectInput : SimplePanel
-The basic component for Select control.
-The select control can be populated directly from options parameter or manually by adding -SelectOption or SelectOptGroup components to the container.
-- - | -
-SelectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf()) |
-
- - | -
-var ajaxOptions: AjaxOptions?
-Additional options for remote (AJAX) data source. - |
-
- - | -
-var autofocus: Boolean?
-Determines if the select is automatically focused. - |
-
- - | -
-var disabled: Boolean
-Determines if the field is disabled. - |
-
- - | -
-var emptyOption: Boolean
-Determines if an empty option is automatically generated. - |
-
- - | -
-var liveSearch: Boolean
-Determines if live search is available. - |
-
- - | -
-var maxOptions: Int?
-Maximal number of selected options. - |
-
- - | -
-var multiple: Boolean
-Determines if multiple value selection is allowed. - |
-
- - | -
-var name: String?
-The name attribute of the generated HTML select element. - |
-
- - | -
-var placeholder: String?
-The placeholder for the select control. - |
-
- - | -
-var selectWidth: CssSize?
-The width of the select control. - |
-
- - | -
-var selectWidthType: SelectWidthType?
-The width type of the select control. - |
-
- - | -
-var size: InputSize?
-The size of the input. - |
-
- - | -
-var style: ButtonStyle?
-The style of the select control. - |
-
- - | -
-var value: String?
-A value of the selected option. - |
-
- - | -
-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. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun hideOptions(): Unit
-Hides dropdown with options. - |
-
- - | -
-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. - |
-
- - | -
-open fun showOptions(): Unit
-Opens dropdown with options. - |
-
- - | -
-open fun toggleOptions(): Unit
-Toggles visibility of dropdown with options. - |
-
- - | -
-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. - |
-
- - | -
-fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: SelectInput.() -> Unit = null): SelectInput
-DSL builder extension function. - |
-
var liveSearch: Boolean
-Determines if live search is available.
-Getter
-
Determines if live search is available.
- -Setter
-
Determines if live search is available.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html deleted file mode 100644 index 76349c48..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/max-options.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var maxOptions: Int?
-Maximal number of selected options.
-Getter
-
Maximal number of selected options.
- -Setter
-
Maximal number of selected options.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html deleted file mode 100644 index f7f2b1ba..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/multiple.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var multiple: Boolean
-Determines if multiple value selection is allowed.
-Getter
-
Determines if multiple value selection is allowed.
- -Setter
-
Determines if multiple value selection is allowed.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html deleted file mode 100644 index 28f69d76..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/name.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var name: String?
-The name attribute of the generated HTML select element.
-Getter
-
The name attribute of the generated HTML select element.
- -Setter
-
The name attribute of the generated HTML select element.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html deleted file mode 100644 index 7ec7138b..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/placeholder.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var placeholder: String?
-The placeholder for the select control.
-Getter
-
The placeholder for the select control.
- -Setter
-
The placeholder for the select control.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html deleted file mode 100644 index ea8cda8e..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/remove-all.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun removeAll(): SimplePanel
-Overrides SimplePanel.removeAll
-Removes all children from the current container.
-Return
-current container
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: SelectInput.() -> Unit = null): SelectInput
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width-type.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width-type.html deleted file mode 100644 index e0cb223d..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width-type.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var selectWidthType: SelectWidthType?
-The width type of the select control.
-Getter
-
The width type of the select control.
- -Setter
-
The width type of the select control.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html deleted file mode 100644 index 65dd9467..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/select-width.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var selectWidth: CssSize?
-The width of the select control.
-Getter
-
The width of the select control.
- -Setter
-
The width of the select control.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html deleted file mode 100644 index d3f371c8..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/show-options.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun showOptions(): Unit
-Opens dropdown with options.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html deleted file mode 100644 index b1069294..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/size.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var size: InputSize?
-The size of the input.
-Getter
-
The size of the input.
- -Setter
-
The size of the input.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html deleted file mode 100644 index aae942c5..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/style.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var style: ButtonStyle?
-The style of the select control.
-Getter
-
The style of the select control.
- -Setter
-
The style of the select control.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html deleted file mode 100644 index 725c5cc7..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/toggle-options.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun toggleOptions(): Unit
-Toggles visibility of dropdown with options.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html deleted file mode 100644 index 19e13af6..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-input/value.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var value: String?
-A value of the selected option.
-Getter
-
A value of the selected option.
- -Setter
-
A value of the selected option.
- - - -- cgit