From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- .../-text-area-input/index.html | 231 +++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 api/pl.treksoft.kvision.form.text/-text-area-input/index.html (limited to 'api/pl.treksoft.kvision.form.text/-text-area-input/index.html') diff --git a/api/pl.treksoft.kvision.form.text/-text-area-input/index.html b/api/pl.treksoft.kvision.form.text/-text-area-input/index.html new file mode 100644 index 00000000..f710cb54 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/-text-area-input/index.html @@ -0,0 +1,231 @@ + + + +TextAreaInput - kvision + + + +kvision / pl.treksoft.kvision.form.text / TextAreaInput
+
+

TextAreaInput

+open class TextAreaInput : AbstractTextInput +

Basic textarea component.

+

Constructors

+ + + + + + + +
+

<init>

+
+TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf())
+

Properties

+ + + + + + + + + + + + + + + +
+

cols

+
+var cols: Int? +

Number of columns.

+
+

rows

+
+var rows: Int? +

Number of rows.

+
+

wrapHard

+
+var wrapHard: Boolean +

Determines if hard wrapping is enabled for the textarea element.

+
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

autofocus

+
+var autofocus: Boolean? +

Determines if the text input is automatically focused.

+
+

disabled

+
+var disabled: Boolean +

Determines if the field is disabled.

+
+

maxlength

+
+var maxlength: Int? +

Maximal length of the text input value.

+
+

name

+
+var name: String? +

The name attribute of the generated HTML input element.

+
+

placeholder

+
+var placeholder: String? +

The placeholder for the text input.

+
+

readonly

+
+var readonly: Boolean? +

Determines if the text input is read-only.

+
+

size

+
+var size: InputSize? +

The size of the input.

+
+

startValue

+
+var startValue: String? +

The value attribute of the generated HTML input element.

+
+

value

+
+var value: String? +

Text input value.

+
+

Functions

+ + + + + + + + + + + +
+

getSnAttrs

+
+open fun getSnAttrs(): List<StringPair> +

Returns list of element attributes in the form of a List.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + +
+

afterInsert

+
+open fun afterInsert(node: VNode): Unit +

Method called after inserting Snabbdom vnode into the DOM.

+
+

afterPostpatch

+
+open fun afterPostpatch(node: VNode): Unit +

Method called after updating Snabbdom vnode.

+
+

blur

+
+open fun blur(): Unit +

Makes the input element blur.

+
+

focus

+
+open fun focus(): Unit +

Makes the input element focused.

+
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

Companion Object Functions

+ + + + + + + +
+

textAreaInput

+
+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.

+
+ + -- cgit