From 107481f9ad5783daed68de8dadea65be57a6266b Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
- Constructor Determines if autocomplete is enabled for the input element. Getter Determines if autocomplete is enabled for the input element.
-
-<init>
-
-TextInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf())
-Parameters
-type - text input type (default "text")classes - a set of CSS class names
-
-
-autocomplete
-
-var autocomplete: Boolean?
-
-
Setter
-
Determines if autocomplete is enabled for the input element.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html deleted file mode 100644 index 02865712..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-text-input/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun getSnAttrs(): List<StringPair>
-Overrides AbstractTextInput.getSnAttrs
-Returns list of element attributes in the form of a List.
-Return
-list of element attributes
open class TextInput : AbstractTextInput
-Basic text component.
-| - - | -
-TextInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf()) |
-
| - - | -
-var autocomplete: Boolean?
-Determines if autocomplete is enabled for the input element. - |
-
| - - | -
-var type: TextInputType
-Text input type. - |
-
| - - | -
-var autofocus: Boolean?
-Determines if the text input is automatically focused. - |
-
| - - | -
-var disabled: Boolean
-Determines if the field is disabled. - |
-
| - - | -
-var maxlength: Int?
-Maximal length of the text input value. - |
-
| - - | -
-var name: String?
-The name attribute of the generated HTML input element. - |
-
| - - | -
-var placeholder: String?
-The placeholder for the text input. - |
-
| - - | -
-var readonly: Boolean?
-Determines if the text input is read-only. - |
-
| - - | -
-var size: InputSize?
-The size of the input. - |
-
| - - | -
-var startValue: String?
-The value attribute of the generated HTML input element. - |
-
| - - | -
-var value: String?
-Text input value. - |
-
| - - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
| - - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
| - - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
| - - | -
-open fun afterPostpatch(node: VNode): Unit
-Method called after updating Snabbdom vnode. - |
-
| - - | -
-open fun blur(): Unit
-Makes the input element blur. - |
-
| - - | -
-open fun focus(): Unit
-Makes the input element focused. - |
-
| - - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
| - - | -
-fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: TextInput.() -> Unit = null): TextInput
-DSL builder extension function. - |
-
protected open fun render(): VNode
-Overrides Widget.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
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.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html b/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html deleted file mode 100644 index 51ef2a9f..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-text-input/type.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var type: TextInputType
-Text input type.
-Getter
-
Text input type.
- -Setter
-
Text input type.
- - - -- cgit