From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros
+ Constructor Number of columns. Getter Number of columns.
+
+<init>
+
+TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf())
+Parameters
+
+
+
+classes
- a set of CSS class names
+
+
+cols
+
+var cols: Int?
+
+
Setter
+
Number of columns.
+ + + diff --git a/api1/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html b/api1/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html new file mode 100644 index 00000000..454e13de --- /dev/null +++ b/api1/pl.treksoft.kvision.form.text/-text-area-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +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 TextAreaInput : AbstractTextInput
+Basic textarea component.
++ + | +
+TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var cols: Int?
+Number of columns. + |
+
+ + | +
+var rows: Int?
+Number of rows. + |
+
+ + | +
+var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element. + |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var maxlength: Int?
+Maximal length of the text input value. + |
+
+ + | +
+open 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. + |
+
+ + | +
+open 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 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.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var rows: Int?
+Number of rows.
+Getter
+
Number of rows.
+ +Setter
+
Number of rows.
+ + + diff --git a/api1/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html b/api1/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html new file mode 100644 index 00000000..a4a3bc7c --- /dev/null +++ b/api1/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html @@ -0,0 +1,16 @@ + + + +fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html b/api1/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html new file mode 100644 index 00000000..782b9997 --- /dev/null +++ b/api1/pl.treksoft.kvision.form.text/-text-area-input/wrap-hard.html @@ -0,0 +1,21 @@ + + + +var wrapHard: Boolean
+Determines if hard wrapping is enabled for the textarea element.
+Getter
+
Determines if hard wrapping is enabled for the textarea element.
+ +Setter
+
Determines if hard wrapping is enabled for the textarea element.
+ + + -- cgit