From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 22 Oct 2018 00:01:39 +0200 Subject: API documentation for KVision 0.0.19 --- .../-rich-text-input/index.html | 208 +++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 api/pl.treksoft.kvision.form.text/-rich-text-input/index.html (limited to 'api/pl.treksoft.kvision.form.text/-rich-text-input/index.html') diff --git a/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html b/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html new file mode 100644 index 00000000..c3850463 --- /dev/null +++ b/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html @@ -0,0 +1,208 @@ + + + +RichTextInput - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput
+
+

RichTextInput

+open class RichTextInput : AbstractTextInput +

Basic rich text component.

+

Constructors

+ + + + + + + +
+

<init>

+
+RichTextInput(value: String? = null, classes: Set<String> = setOf())
+

Inherited Properties

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

autofocus

+
+var autofocus: Boolean? +

Determines if the text input is automatically focused.

+
+

disabled

+
+open var disabled: Boolean +

Determines if the field is disabled.

+
+

maxlength

+
+var maxlength: Int? +

Maximal length of the text input value.

+
+

name

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

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

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

afterDestroy

+
+open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+
+

afterInsert

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

Method called after inserting Snabbdom vnode into the DOM.

+
+

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

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

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

+ + + + + + + +
+

richTextInput

+
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: RichTextInput.() -> Unit = null): RichTextInput +

DSL builder extension function.

+
+ + -- cgit