From f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 29 Jan 2019 23:41:38 +0100 Subject: API documentation for KVision 0.0.23 --- .../-select-option/index.html | 16 ++++++++++++++++ .../-select-option/select-option.html | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 api/pl.treksoft.kvision.form.select/-select-option/select-option.html (limited to 'api/pl.treksoft.kvision.form.select/-select-option') diff --git a/api/pl.treksoft.kvision.form.select/-select-option/index.html b/api/pl.treksoft.kvision.form.select/-select-option/index.html index 7fe840ac..3ec9ba3c 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -441,5 +441,21 @@ +

Companion Object Functions

+ + + + + + + +
+

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.

+
diff --git a/api/pl.treksoft.kvision.form.select/-select-option/select-option.html b/api/pl.treksoft.kvision.form.select/-select-option/select-option.html new file mode 100644 index 00000000..d5620bd3 --- /dev/null +++ b/api/pl.treksoft.kvision.form.select/-select-option/select-option.html @@ -0,0 +1,20 @@ + + + +SelectOption.selectOption - kvision + + + +kvision / pl.treksoft.kvision.form.select / SelectOption / selectOption
+
+

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.

+

It takes the same parameters as the constructor of the built component.

+ + -- cgit