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 --- api/pl.treksoft.kvision.html/-section/-init-.html | 2 +- api/pl.treksoft.kvision.html/-section/index.html | 682 ++++++++++------------ 2 files changed, 301 insertions(+), 383 deletions(-) (limited to 'api/pl.treksoft.kvision.html/-section') diff --git a/api/pl.treksoft.kvision.html/-section/-init-.html b/api/pl.treksoft.kvision.html/-section/-init-.html index 59e6c323..2fb152ac 100644 --- a/api/pl.treksoft.kvision.html/-section/-init-.html +++ b/api/pl.treksoft.kvision.html/-section/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.html / Section / <init>

<init>

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

Parameters

diff --git a/api/pl.treksoft.kvision.html/-section/index.html b/api/pl.treksoft.kvision.html/-section/index.html index 1047afb1..d8ef81a9 100644 --- a/api/pl.treksoft.kvision.html/-section/index.html +++ b/api/pl.treksoft.kvision.html/-section/index.html @@ -8,132 +8,47 @@ kvision / pl.treksoft.kvision.html / Section

Section

-open class Section : Tag +(js) open class Section : Tag

Simple component rendered as section.

Constructors

-

<init>

+(js) +

<init>

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

Inherited Properties

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

align

-
-var align: Align? -

Text align.

-
-

content

-
-open var content: String? -

Text content of the tag.

-
-

rich

-
-open var rich: Boolean -

Determines if content can contain HTML code.

-
-

template

-
-open var template: ((Any?) -> String)? -

Handlebars template.

-
-

templates

-
-open var templates: Map<String, (Any?) -> String> -

Handlebars templates for i18n.

-
-

type

-
-var type: TAG -

Tag type.

-
-

Inherited Functions

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

getSnClass

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

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

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

unaryPlus

-
-operator fun String.unaryPlus(): Unit

Extension Properties

+val <T : Widget> T.changeFlow: Flow<T> +val <T : Widget> T.clickFlow: Flow<T> +val <T : Widget> T.inputFlow: Flow<T>
-

changeFlow

+(js) +

changeFlow

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

clickFlow

+(js) +

clickFlow

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

inputFlow

+(js) +

inputFlow

-val <T : Widget> T.inputFlow: <ERROR CLASS><T>
@@ -142,877 +57,880 @@ -

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: (CheckBox.() -> Unit)? = null): CheckBox

DSL builder extension function.

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