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 --- .../-text-input/index.html | 108 +++++++++++++++++++-- .../-text-input/text-input.html | 16 --- 2 files changed, 100 insertions(+), 24 deletions(-) delete mode 100644 api/pl.treksoft.kvision.form.text/-text-input/text-input.html (limited to 'api/pl.treksoft.kvision.form.text/-text-input') diff --git a/api/pl.treksoft.kvision.form.text/-text-input/index.html b/api/pl.treksoft.kvision.form.text/-text-input/index.html index f39db4f7..bb66d0bd 100644 --- a/api/pl.treksoft.kvision.form.text/-text-input/index.html +++ b/api/pl.treksoft.kvision.form.text/-text-input/index.html @@ -122,6 +122,15 @@ +

validationStatus

+ + +open var validationStatus: ValidationStatus? +

The validation status of the input.

+ + + +

value

@@ -195,23 +204,53 @@ -

Companion Object Functions

+

Extension Functions

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

textInput

+

addBsBgColor

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

addBsBorder

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

addBsClearfix

+
+fun Component.addBsClearfix(): Unit
+

addBsColor

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

addBsRounded

-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput +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

@@ -221,6 +260,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.

+
diff --git a/api/pl.treksoft.kvision.form.text/-text-input/text-input.html b/api/pl.treksoft.kvision.form.text/-text-input/text-input.html deleted file mode 100644 index 7dfa223e..00000000 --- a/api/pl.treksoft.kvision.form.text/-text-input/text-input.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -TextInput.textInput - kvision - - - -kvision / pl.treksoft.kvision.form.text / TextInput / textInput
-
-

textInput

- -fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput -

DSL builder extension function.

-

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

- - -- cgit