From f3c9d405382dd81d426c7eab1f6390ec8e6dad00 Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
-
-
-
-
-
-
-
- Constructor Data class for AJAX options. Convert AjaxOptions to JavaScript JSON object. Data type for the AJAX call. HTTP protocol type for the AJAX call.
-
-
-
- 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>
-
-AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
-Parameters
-
-preprocessData
- AjaxBootstrapSelect preprocessOption
-optionbeforeSend
- JQuery ajax.beforeSend optiondata
- JQuery ajax.data optionhttpType
- JQuery ajax.type optionminLength
- AjaxBootstrapSelect minLength optioncache
- AjaxBootstrapSelect cache optionclearOnEmpty
- AjaxBootstrapSelect clearOnEmpty optionclearOnError
- AjaxBootstrapSelect clearOnError optionemptyRequest
- AjaxBootstrapSelect emptyRequest optionrequestDelay
- AjaxBootstrapSelect requestDelay optionrestoreOnError
- AjaxBootstrapSelect restoreOnError
-option
-
-
-beforeSend
-
-val beforeSend: (JQueryXHR) -> dynamic
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html
deleted file mode 100644
index db1944c7..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/cache.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-cache
-
-val cache: Boolean
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html
deleted file mode 100644
index 5ee08617..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-empty.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-clearOnEmpty
-
-val clearOnEmpty: Boolean
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html
deleted file mode 100644
index 81b5784a..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/clear-on-error.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-clearOnError
-
-val clearOnError: Boolean
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html
deleted file mode 100644
index 74f2511e..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data-type.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-dataType
-
-val dataType: DataType
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html
deleted file mode 100644
index 037758fb..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/data.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-data
-
-val data: dynamic
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html
deleted file mode 100644
index 2c1085c1..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/empty-request.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-emptyRequest
-
-val emptyRequest: Boolean
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html
deleted file mode 100644
index a6739789..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/http-type.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-httpType
-
-val httpType: HttpType
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html
deleted file mode 100644
index 38bddbad..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/index.html
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
-
-
-
-AjaxOptions
-data class AjaxOptions
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-AjaxOptions(url: String, preprocessData: (dynamic) -> dynamic, beforeSend: (JQueryXHR) -> dynamic = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false)
Properties
-
-
-
-
-
-
-
-
-
-
-val beforeSend: (JQueryXHR) -> dynamic
-
-
-
-
-
-
-val cache: Boolean
-
-
-
-
-
-
-val clearOnEmpty: Boolean
-
-
-
-
-
-
-val clearOnError: Boolean
-
-
-
-
-
-
-val data: dynamic
-
-
-
-
-
-
-val dataType: DataType
-
-
-
-
-
-
-val emptyRequest: Boolean
-
-
-
-
-
-
-val httpType: HttpType
-
-
-
-
-
-
-val minLength: Int
-
-
-
-
-
-
-val preprocessData: (dynamic) -> dynamic
-
-
-
-
-
-
-val requestDelay: Int
-
-
-
-
-
-
-val restoreOnError: Boolean
-
-
-
-
-
-
-
-val url: String
Extension Functions
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html
deleted file mode 100644
index 81746792..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/min-length.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
-
-
-minLength
-
-val minLength: Int
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html
deleted file mode 100644
index 08a0a8ee..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/preprocess-data.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-preprocessData
-
-val preprocessData: (dynamic) -> dynamic
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html
deleted file mode 100644
index d1b01119..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/request-delay.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-requestDelay
-
-val requestDelay: Int
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html
deleted file mode 100644
index 0abc1431..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/restore-on-error.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-restoreOnError
-
-val restoreOnError: Boolean
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html b/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html
deleted file mode 100644
index 787210a8..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-ajax-options/url.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-url
-
-val url: String
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n-p.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n-p.html
deleted file mode 100644
index b6a4148e..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n-p.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-JSONP
-
-JSONP
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n.html
deleted file mode 100644
index 00741d3e..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/-j-s-o-n.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-JSON
-
-JSON
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/-s-c-r-i-p-t.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/-s-c-r-i-p-t.html
deleted file mode 100644
index f5693edb..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/-s-c-r-i-p-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-SCRIPT
-
-SCRIPT
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/-t-e-x-t.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/-t-e-x-t.html
deleted file mode 100644
index e11b2056..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/-t-e-x-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-TEXT
-
-TEXT
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/-x-m-l.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/-x-m-l.html
deleted file mode 100644
index 6b9648af..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/-x-m-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-XML
-
-XML
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-data-type/index.html b/docs/api/pl.treksoft.kvision.form.select/-data-type/index.html
deleted file mode 100644
index 9c60877a..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-data-type/index.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
-
-DataType
-enum class DataType
-Enum Values
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-http-type/-g-e-t.html b/docs/api/pl.treksoft.kvision.form.select/-http-type/-g-e-t.html
deleted file mode 100644
index b15171a6..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-http-type/-g-e-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-GET
-
-GET
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-http-type/-p-o-s-t.html b/docs/api/pl.treksoft.kvision.form.select/-http-type/-p-o-s-t.html
deleted file mode 100644
index 28948f81..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-http-type/-p-o-s-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-POST
-
-POST
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-http-type/index.html b/docs/api/pl.treksoft.kvision.form.select/-http-type/index.html
deleted file mode 100644
index 733a08b9..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-http-type/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-HttpType
-enum class HttpType
-Enum Values
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-input/-init-.html b/docs/api/pl.treksoft.kvision.form.select/-select-input/-init-.html
deleted file mode 100644
index 1ea1cc60..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-select-input/-init-.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<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.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html deleted file mode 100644 index 7545e4e5..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf())
-
-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
-
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/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/get-sn-attrs.html deleted file mode 100644 index 9fd36159..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/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
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.
-- - | -
-SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf()) |
-
- - | -
-var disabled: Boolean
-Determines if the group is disabled. - |
-
- - | -
-var label: String
-A label for the group. - |
-
- - | -
-var maxOptions: Int?
-Maximal number of selected options in the group. - |
-
- - | -
-var options: List<StringPair>?
-A list of options (label to value pairs) for the group. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-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 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. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
var label: String
-A label for the group.
-Getter
-
A label for the group.
- -Setter
-
A label for the group.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html deleted file mode 100644 index 5f791541..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/max-options.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html deleted file mode 100644 index cc45b6be..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/options.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -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/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html b/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html deleted file mode 100644 index 745b6d91..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf())
-
-value
- the value of the option
-label
- the label of the option
-subtext
- the small subtext after the label of the option
-icon
- the icon before the label of the option
-divider
- renders this option as a divider
-disabled
- renders a disabled option
-classes
- a set of CSS class names
Constructor
-
var disabled: Boolean
-Determines if the option should be disabled.
-Getter
-
Determines if the option should be disabled.
- -Setter
-
Determines if the option should be disabled.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html deleted file mode 100644 index 262acbc5..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-option/divider.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var divider: Boolean
-Determines if the option should be rendered as divider.
-Getter
-
Determines if the option should be rendered as divider.
- -Setter
-
Determines if the option should be rendered as divider.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/get-sn-attrs.html deleted file mode 100644 index 50bea1eb..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-option/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
var icon: String?
-The icon before the label of the option.
-Getter
-
The icon before the label of the option.
- -Setter
-
The icon before the label of the option.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html deleted file mode 100644 index 2cbb5142..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ /dev/null @@ -1,392 +0,0 @@ - - - -open class SelectOption : Widget
-The helper component for adding options to Select or SelectOptGroup.
-- - | -
-SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, classes: Set<String> = setOf()) |
-
- - | -
-var disabled: Boolean
-Determines if the option should be disabled. - |
-
- - | -
-var divider: Boolean
-Determines if the option should be rendered as divider. - |
-
- - | -
-var icon: String?
-The icon before the label of the option. - |
-
- - | -
-var label: String?
-The label of the option. - |
-
- - | -
-var subtext: String?
-The subtext after the label of the option. - |
-
- - | -
-var value: String?
-The value of the option. - |
-
- - | -
-var draggable: Boolean?
-Determines if the current widget is draggable. - |
-
- - | -
-var id: String?
-An ID attribute of generated HTML element. - |
-
- - | -
-open var parent: Component?
-Parent of the current component. - |
-
- - | -
-var role: String?
-A role attribute of generated HTML element. - |
-
- - | -
-var title: String?
-A title attribute of generated HTML element. - |
-
- - | -
-open var visible: Boolean
-Visibility state of the current component. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun addCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun addSurroundingCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun afterCreate(node: VNode): Unit
-Method called after creating Snabbdom vnode. - |
-
- - | -
-open fun afterDestroy(): Unit
-Method called after destroying Snabbdom vnode. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun afterPostpatch(node: VNode): Unit
-Method called after updating Snabbdom vnode. - |
-
- - | -
-open fun clearDragDropData(): Unit
-Clears D&D data for the current widget. It also makes it not draggable. - |
-
- - | -
-open fun getElement(): Node?
-Returns DOM element bound to the current component. - |
-
- - | -
-open fun getElementJQuery(): JQuery?
-Returns JQuery element bound to the current component. - |
-
- - | -
-open fun getElementJQueryD(): dynamic
-Returns JQuery element bound to the current component as a dynamic type. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun getSnHooks(): Hooks?
-Returns list of hooks in the form of a Snabbdom Hooks object. - |
-
- - | -
-open fun getSnOn(): On?
-Returns list of event handlers in the form of a Snabbdom On object. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun removeCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun removeSurroundingCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun render(elementName: String): VNode - open fun render(elementName: String, children: Array<dynamic>): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setDragDropData(format: String, data: String): Unit
-Sets D&D data for the current widget. It also makes it draggable. - |
-
- - | -
-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit - open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
-Sets the current widget as a D&D drop target. - |
-
- - | -
-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
-Sets the current widget as a D&D drop target with helper callback accepting String data. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-open fun show(): Widget
-Makes current widget visible. - |
-
- - | -
-open fun toggleVisible(): Widget
-Toggles visibility of current widget. - |
-
var label: String?
-The label of the option.
-Getter
-
The label of the option.
- -Setter
-
The label of the option.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html deleted file mode 100644 index b548132f..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-option/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun render(): VNode
-Overrides Widget.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var subtext: String?
-The subtext after the label of the option.
-Getter
-
The subtext after the label of the option.
- -Setter
-
The subtext after the label of the option.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html b/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html deleted file mode 100644 index c31c0ece..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-option/value.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var value: String?
-The value of the option.
-Getter
-
The value of the option.
- -Setter
-
The value of the option.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-a-u-t-o.html b/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-a-u-t-o.html deleted file mode 100644 index 8d9c0749..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-a-u-t-o.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -AUTO
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-f-i-t.html b/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-f-i-t.html
deleted file mode 100644
index 11170c69..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/-f-i-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-FIT
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/index.html b/docs/api/pl.treksoft.kvision.form.select/-select-width-type/index.html
deleted file mode 100644
index e92a8bd9..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-select-width-type/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-enum class SelectWidthType
-Select width types. See Bootstrap Select width.
-- - | -- | -
- - | -- | -
Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
-
-options
- an optional list of options (label to value pairs) for the select control
-multiple
- allows multiple value selection (multiple values are comma delimited)
-ajaxOptions
- additional options for remote (AJAX) data source
-label
- label text bound to the input element
-rich
- determines if label can contain HTML code
Constructor
-
open fun addAll(children: List<Component>): SimplePanel
-Overrides SimplePanel.addAll
-Adds a list of components to the current container.
-
-children
- list of child components
Return
-current container
open fun add(child: Component): SimplePanel
-Overrides SimplePanel.add
-Adds given component to the current container.
-Return
-current container
var ajaxOptions: AjaxOptions?
-Additional options for remote (AJAX) data source.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html b/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html deleted file mode 100644 index b7e18582..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/autofocus.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var autofocus: Boolean?
-Determines if the select is automatically focused.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html b/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html deleted file mode 100644 index 89dde5bd..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/disabled.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -open var disabled: Boolean
-Overrides FormControl.disabled
-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/empty-option.html b/docs/api/pl.treksoft.kvision.form.select/-select/empty-option.html deleted file mode 100644 index 10235d84..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/empty-option.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var emptyOption: Boolean
-Determines if an empty option is automatically generated.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html b/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html deleted file mode 100644 index 77a1aca4..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/flabel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val flabel: FieldLabel
-Overrides FormControl.flabel
-Form field label.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html b/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html deleted file mode 100644 index d2695945..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/get-children.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun getChildren(): List<Component>
-Overrides SimplePanel.getChildren
-Returns a list of children of the current container.
-Return
-list of children
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/index.html b/docs/api/pl.treksoft.kvision.form.select/-select/index.html deleted file mode 100644 index e5055168..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/index.html +++ /dev/null @@ -1,392 +0,0 @@ - - - -open class Select : SimplePanel, StringFormControl
-The form field 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.
-- - | -
-Select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false) |
-
- - | -
-var ajaxOptions: AjaxOptions?
-Additional options for remote (AJAX) data source. - |
-
- - | -
-var autofocus: Boolean?
-Determines if the select is automatically focused. - |
-
- - | -
-open var disabled: Boolean
-Determines if the field is disabled. - |
-
- - | -
-var emptyOption: Boolean
-Determines if an empty option is automatically generated. - |
-
- - | -
-val flabel: FieldLabel
-Form field label. - |
-
- - | -
-val input: SelectInput
-The actual input component. - |
-
- - | -
-var label: String?
-The label text bound to the select element. - |
-
- - | -
-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 options: List<StringPair>?
-A list of options (label to value pairs) for the select control. - |
-
- - | -
-var placeholder: String?
-The placeholder for the select control. - |
-
- - | -
-var rich: Boolean
-Determines if label can contain HTML code. - |
-
- - | -
-var selectWidth: CssSize?
-The width of the select control. - |
-
- - | -
-var selectWidthType: SelectWidthType?
-The width type of the select control. - |
-
- - | -
-open var size: InputSize?
-Input control size. - |
-
- - | -
-var style: ButtonStyle?
-The style of the select control. - |
-
- - | -
-val validationInfo: HelpBlock
-Validation info component. - |
-
- - | -
-open 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 getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-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 removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-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 getValue(): String?
-Returns the value of the control. - |
-
- - | -
-open fun getValueAsString(): String?
-Returns the value of the control as a String. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setValue(v: Any?): Unit
-Sets the value of the control. - |
-
- - | -
-fun Container.select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select
-DSL builder extension function. - |
-
val input: SelectInput
-Overrides FormControl.input
-The actual input component.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/label.html b/docs/api/pl.treksoft.kvision.form.select/-select/label.html deleted file mode 100644 index fa69c42c..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/label.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var label: String?
-The label text bound to the select element.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html b/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html deleted file mode 100644 index 7623c56d..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/live-search.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var liveSearch: Boolean
-Determines if live search is available.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html deleted file mode 100644 index 9d472c4f..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/max-options.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var maxOptions: Int?
-Maximal number of selected options.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html b/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html deleted file mode 100644 index a5932e98..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/multiple.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var multiple: Boolean
-Determines if multiple value selection is allowed.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/name.html b/docs/api/pl.treksoft.kvision.form.select/-select/name.html deleted file mode 100644 index 06181eaf..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var name: String?
-The name attribute of the generated HTML select element.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/options.html b/docs/api/pl.treksoft.kvision.form.select/-select/options.html deleted file mode 100644 index 0af371aa..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/options.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var options: List<StringPair>?
-A list of options (label to value pairs) for the select control.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html b/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html deleted file mode 100644 index 7a1c3aea..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/placeholder.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var placeholder: String?
-The placeholder for the select control.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/remove-all.html b/docs/api/pl.treksoft.kvision.form.select/-select/remove-all.html deleted file mode 100644 index 5ef0367a..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/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 removeEventListeners(): Widget
-Overrides Widget.removeEventListeners
-Removes all event listeners from current widget.
-Return
-current widget
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
var rich: Boolean
-Determines if label can contain HTML code.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html b/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html deleted file mode 100644 index d9cc7552..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/select-width-type.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var selectWidthType: SelectWidthType?
-The width type of the select control.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html b/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html deleted file mode 100644 index 1bde09e8..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/select-width.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var selectWidth: CssSize?
-The width of the select control.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/select.html b/docs/api/pl.treksoft.kvision.form.select/-select/select.html deleted file mode 100644 index 047f4755..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/select.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.select(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: Select.() -> Unit = null): Select
-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/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.select/-select/set-event-listener.html deleted file mode 100644 index e287eb24..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/set-event-listener.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget, keeping the actual type of component.
-Return
-
current widget
- - -Example:
- - - button.setEventListener<Button> {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Button here
- }
- }
-
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget.
-Return
-
current widget
- - -Example:
- - - button.setEventListener {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Widget here
- }
- }
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/show-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/show-options.html
deleted file mode 100644
index fa16c71c..00000000
--- a/docs/api/pl.treksoft.kvision.form.select/-select/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/size.html b/docs/api/pl.treksoft.kvision.form.select/-select/size.html deleted file mode 100644 index fb362ba2..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/size.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -open var size: InputSize?
-Overrides FormControl.size
-Input control size.
-Getter
-
Input control size.
- -Setter
-
Input control size.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/style.html b/docs/api/pl.treksoft.kvision.form.select/-select/style.html deleted file mode 100644 index 14b2e480..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/style.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var style: ButtonStyle?
-The style of the select control.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/toggle-options.html b/docs/api/pl.treksoft.kvision.form.select/-select/toggle-options.html deleted file mode 100644 index 3958bb97..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/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/validation-info.html b/docs/api/pl.treksoft.kvision.form.select/-select/validation-info.html deleted file mode 100644 index bb315130..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val validationInfo: HelpBlock
-Overrides FormControl.validationInfo
-Validation info component.
- - diff --git a/docs/api/pl.treksoft.kvision.form.select/-select/value.html b/docs/api/pl.treksoft.kvision.form.select/-select/value.html deleted file mode 100644 index 5ce6848c..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/-select/value.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -open var value: String?
-Overrides StringFormControl.value
-A value of the selected option.
-Getter
-
Text value.
- -Setter
-
Text value.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.select/index.html b/docs/api/pl.treksoft.kvision.form.select/index.html deleted file mode 100644 index 170d1d0f..00000000 --- a/docs/api/pl.treksoft.kvision.form.select/index.html +++ /dev/null @@ -1,104 +0,0 @@ - - - -Full-featured select component with support for remote (AJAX) data source.
-- - | -
-data class AjaxOptions
-Data class for AJAX options. - |
-
- - | -
-enum class DataType
-Data type for the AJAX call. - |
-
- - | -
-enum class HttpType
-HTTP protocol type for the AJAX call. - |
-
- - | -
-open class Select : SimplePanel, StringFormControl
-The form field component for Select control. - |
-
- - | -
-open class SelectInput : SimplePanel
-The basic component for Select control. - |
-
- - | -
-open class SelectOptGroup : SimplePanel
-The helper container for adding option groups to Select. - |
-
- - | -
-open class SelectOption : Widget
-The helper component for adding options to Select or SelectOptGroup. - |
-
- - | -
-enum class SelectWidthType
-Select width types. See Bootstrap Select width. - |
-
- - | -
-fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
-Convert AjaxOptions to JavaScript JSON object. - |
-
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
-Convert AjaxOptions to JavaScript JSON object.
-
-emptyOption
- add an empty position as the first select option
Return
-JSON object