Contains a simple select component as well as a full-featured component with support for remote (AJAX) data source.
(js)
AjaxOptions |
Data class for AJAX options. data class AjaxOptions |
(js)
DataType |
Data type for the AJAX call. enum class DataType |
(js)
HttpType |
HTTP protocol type for the AJAX call. enum class HttpType |
(js)
Select |
The form field component for Select control. open class Select : SimplePanel, StringFormControl |
(js)
SelectDropdownAlign |
Select dropdown align. See Bootstrap Select width. enum class SelectDropdownAlign |
(js)
SelectInput |
The basic component for Select control. open class SelectInput : SimplePanel, FormInput |
(js)
SelectOptGroup |
The helper container for adding option groups to Select. open class SelectOptGroup : SimplePanel |
(js)
SelectOption |
The helper component for adding options to Select or SelectOptGroup. open class SelectOption : Widget |
(js)
SelectRemote |
The form field component for SelectRemote control. open class SelectRemote<T : Any> : SimplePanel, StringFormControl |
(js)
SelectRemoteInput |
The Select control connected to the multiplatform service. open class SelectRemoteInput<T : Any> : SelectInput |
(js)
SelectWidthType |
Select width types. See Bootstrap Select width. enum class SelectWidthType |
(js)
SimpleSelect |
The form field component for SimpleSelect control. open class SimpleSelect : SimplePanel, StringFormControl |
(js)
SimpleSelectInput |
Simple select component. open class SimpleSelectInput : SimplePanel, FormInput |
(js)
decodeURIComponent |
fun decodeURIComponent(encodedURI: String): String |
(js)
select |
DSL builder extension function. fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (Select.() -> Unit)? = null): Select |
(js)
selectInput |
DSL builder extension function. 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 |
(js)
selectOptGroup |
DSL builder extension function. fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup |
(js)
selectOption |
DSL builder extension function. fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption |
(js)
selectRemote |
DSL builder extension function. fun <T : Any> Container.selectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> |
(js)
selectRemoteInput |
DSL builder extension function. fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> |
(js)
simpleSelect |
DSL builder extension function. fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect |
(js)
simpleSelectInput |
DSL builder extension function. fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput |
(js)
toJs |
Convert AjaxOptions to JavaScript JSON object. fun AjaxOptions.toJs(emptyOption: Boolean): dynamic |