From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-rich-text-input/-init-.html | 21 +++ .../-rich-text-input/after-destroy.html | 16 ++ .../-rich-text-input/after-insert.html | 16 ++ .../-rich-text-input/get-sn-attrs.html | 18 ++ .../-rich-text-input/index.html | 185 +++++++++++++++++++++ .../-rich-text-input/render.html | 18 ++ 6 files changed, 274 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-destroy.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/render.html (limited to 'docs/api/pl.treksoft.kvision.form.text/-rich-text-input') diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/-init-.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/-init-.html new file mode 100644 index 00000000..960d96db --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/-init-.html @@ -0,0 +1,21 @@ + + + +RichTextInput.<init> - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput / <init>
+
+

<init>

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

Parameters

+

+value - text input value

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-destroy.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-destroy.html new file mode 100644 index 00000000..ba64d80f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-destroy.html @@ -0,0 +1,16 @@ + + + +RichTextInput.afterDestroy - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput / afterDestroy
+
+

afterDestroy

+ +protected open fun afterDestroy(): Unit +

Overrides Widget.afterDestroy

+

Method called after destroying Snabbdom vnode.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html new file mode 100644 index 00000000..9f9d720a --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/after-insert.html @@ -0,0 +1,16 @@ + + + +RichTextInput.afterInsert - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput / afterInsert
+
+

afterInsert

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

Overrides AbstractTextInput.afterInsert

+

Method called after inserting Snabbdom vnode into the DOM.

+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html new file mode 100644 index 00000000..80e29d05 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +RichTextInput.getSnAttrs - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput / getSnAttrs
+
+

getSnAttrs

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

+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html new file mode 100644 index 00000000..6a7b59da --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/index.html @@ -0,0 +1,185 @@ + + + +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

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

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

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

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

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.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/render.html b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/render.html new file mode 100644 index 00000000..ad34258c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.form.text/-rich-text-input/render.html @@ -0,0 +1,18 @@ + + + +RichTextInput.render - kvision + + + +kvision / pl.treksoft.kvision.form.text / RichTextInput / render
+
+

render

+ +protected open fun render(): VNode +

Overrides Widget.render

+

Renders current component as a Snabbdom vnode.

+

Return
+Snabbdom vnode

+ + -- cgit