From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-rich-text/-init-.html | 2 +- .../-rich-text/index.html | 751 +++++++++------------ .../-rich-text/input-height.html | 2 +- .../-rich-text/input.html | 3 +- 4 files changed, 305 insertions(+), 453 deletions(-) (limited to 'api/pl.treksoft.kvision.form.text/-rich-text') diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html b/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html index 5727433a..53f302a1 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.form.text / RichText / <init>

<init>

- +(js) RichText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

diff --git a/api/pl.treksoft.kvision.form.text/-rich-text/index.html b/api/pl.treksoft.kvision.form.text/-rich-text/index.html index b2ccc5d1..4f86c4e7 100644 --- a/api/pl.treksoft.kvision.form.text/-rich-text/index.html +++ b/api/pl.treksoft.kvision.form.text/-rich-text/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.form.text / RichText

RichText

-open class RichText : AbstractText +(js) open class RichText : AbstractText

Form field rich text component.

Constructors

@@ -27,175 +28,21 @@ +val input: RichTextInput - - -
-

<init>

+(js) +

<init>

RichText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
-

input

+(js) +

input

-val input: RichTextInput

The actual input component.

-
-

inputHeight

+(js) +

inputHeight

-var inputHeight: CssSize?

Rich input control height.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

autofocus

-
-var autofocus: Boolean? -

Determines if the text input is automatically focused.

-
-

flabel

-
-val flabel: FieldLabel -

Form field label.

-
-

invalidFeedback

-
-val invalidFeedback: InvalidFeedback -

Invalid feedback component.

-
-

label

-
-var label: String? -

The label text bound to the text input element.

-
-

maxlength

-
-var maxlength: Int? -

Maximal length of the text input value.

-
-

placeholder

-
-var placeholder: String? -

The placeholder for the text input.

-
-

readonly

-
-var readonly: Boolean? -

Determines if the text input is read-only.

-
-

rich

-
-var rich: Boolean -

Determines if label can contain HTML code.

-
-

startValue

-
-var startValue: String? -

The value attribute of the generated HTML input element.

-
-

value

-
-open var value: String? -

Text input value.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - +var inputHeight: CssSize?
-

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.

-
-

removeEventListener

-
-open fun removeEventListener(id: Int): Widget -

Removes event listener from current widget.

-
-

removeEventListeners

-
-open fun removeEventListeners(): Widget -

Removes all event listeners from current widget.

-
-

setEventListener

-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int -

Sets an event listener for current widget, keeping the actual type of component.

-
@@ -204,24 +51,27 @@ -

changeFlow

+(js) +

changeFlow

-val <T : Widget> T.changeFlow: <ERROR CLASS><T> +val <T : Widget> T.changeFlow: Flow<T> -

clickFlow

+(js) +

clickFlow

-val <T : Widget> T.clickFlow: <ERROR CLASS><T> +val <T : Widget> T.clickFlow: Flow<T> -

inputFlow

+(js) +

inputFlow

-val <T : Widget> T.inputFlow: <ERROR CLASS><T> +val <T : Widget> T.inputFlow: Flow<T> @@ -230,867 +80,870 @@ -

addBsBgColor

+(js) +

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit -

addBsBorder

+(js) +

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit -

addBsClearfix

+(js) +

addBsClearfix

fun Component.addBsClearfix(): Unit -

addBsColor

+(js) +

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit -

addBsRounded

+(js) +

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit -

bold

+(js) +

bold

-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold

DSL builder extension function.

- +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold -

button

+(js) +

button

-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button

DSL builder extension function.

- +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button -

buttonGroup

+(js) +

buttonGroup

-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup

DSL builder extension function.

- +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup -

canvas

+(js) +

canvas

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas

DSL builder extension function.

- +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas -

chart

+(js) +

chart

-fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart

DSL builder extension function.

- +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart -

checkBox

+(js) +

checkBox

-fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (