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 --- .../-select-option/index.html | 119 +++++++++++++++++---- 1 file changed, 100 insertions(+), 19 deletions(-) (limited to 'api/pl.treksoft.kvision.form.select/-select-option/index.html') 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 19f660cd..bbe2f44b 100644 --- a/api/pl.treksoft.kvision.form.select/-select-option/index.html +++ b/api/pl.treksoft.kvision.form.select/-select-option/index.html @@ -159,6 +159,15 @@ +

tabindex

+ + +var tabindex: Int? +

A tabindex attribute of generated HTML element.

+ + + +

title

@@ -477,15 +486,6 @@ -

setContextMenu

- - -open fun setContextMenu(contextMenu: ContextMenu): Widget -

Sets context menu for the current widget.

- - - -

setDragDropData

@@ -575,25 +575,53 @@ -

Companion Object Functions

+

Extension Functions

+ + + + + + + + + + + + + + + + + + + + - -
-

selectOption

+

addBsBgColor

+
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
+

addBsBorder

+
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
+

addBsClearfix

-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 +fun Component.addBsClearfix(): Unit
+

addBsColor

+
+fun Component.addBsColor(bsColor: BsColor): Unit
+

addBsRounded

+
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit
+

contextMenu

+
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

-

Extension Functions

- - + + + + + + + + + + + + + + + + + + + + + + + + + + + +

createInstance

@@ -603,6 +631,59 @@

Helper function for creating JavaScript objects from dynamic constructors.

+

removeBsBgColor

+
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
+

removeBsBorder

+
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
+

removeBsClearfix

+
+fun Component.removeBsClearfix(): Unit
+

removeBsColor

+
+fun Component.removeBsColor(bsColor: BsColor): Unit
+

removeBsRounded

+
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
+

setContextMenu

+
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget +

Sets context menu for the current widget.

+
+

style

+
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+
-- cgit