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 --- api/pl.treksoft.kvision.form.select/index.html | 84 ++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) (limited to 'api/pl.treksoft.kvision.form.select/index.html') diff --git a/api/pl.treksoft.kvision.form.select/index.html b/api/pl.treksoft.kvision.form.select/index.html index d328334a..67f5d74f 100644 --- a/api/pl.treksoft.kvision.form.select/index.html +++ b/api/pl.treksoft.kvision.form.select/index.html @@ -50,6 +50,15 @@ +

SelectDropdownAlign

+ + +enum class SelectDropdownAlign +

Select dropdown align. See Bootstrap Select width.

+ + + +

SelectInput

@@ -134,6 +143,81 @@ +

select

+ + +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 +

DSL builder extension function.

+ + + + +

selectInput

+ + +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.

+ + + + +

selectOptGroup

+ + +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 +

DSL builder extension function.

+ + + + +

selectOption

+ + +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 +

DSL builder extension function.

+ + + + +

selectRemote

+ + +fun <T : Any> Container.selectRemote(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T> +

DSL builder extension function.

+ + + + +

selectRemoteInput

+ + +fun <T : Any> Container.selectRemoteInput(value: String? = null, serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T> +

DSL builder extension function.

+ + + + +

simpleSelect

+ + +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 +

DSL builder extension function.

+ + + + +

simpleSelectInput

+ + +fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput +

DSL builder extension function.

+ + + +

toJs

-- cgit