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/-icon/-init-.html | 2 +- .../-icon/get-sn-class.html | 3 +- api/pl.treksoft.kvision.html/-icon/icon.html | 2 +- api/pl.treksoft.kvision.html/-icon/index.html | 685 +++++++++------------ 4 files changed, 309 insertions(+), 383 deletions(-) (limited to 'api/pl.treksoft.kvision.html/-icon') diff --git a/api/pl.treksoft.kvision.html/-icon/-init-.html b/api/pl.treksoft.kvision.html/-icon/-init-.html index 08671b45..57943f3f 100644 --- a/api/pl.treksoft.kvision.html/-icon/-init-.html +++ b/api/pl.treksoft.kvision.html/-icon/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.html / Icon / <init>

<init>

- +(js) Icon(icon: String)

Parameters

diff --git a/api/pl.treksoft.kvision.html/-icon/get-sn-class.html b/api/pl.treksoft.kvision.html/-icon/get-sn-class.html index ae52c838..ff5e3d77 100644 --- a/api/pl.treksoft.kvision.html/-icon/get-sn-class.html +++ b/api/pl.treksoft.kvision.html/-icon/get-sn-class.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.html / Icon / getSnClass

getSnClass

- +(js) protected open fun getSnClass(): List<StringBoolPair> -

Overrides Tag.getSnClass

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

Return
list of CSS class names

diff --git a/api/pl.treksoft.kvision.html/-icon/icon.html b/api/pl.treksoft.kvision.html/-icon/icon.html index 56ff7d38..f89d188f 100644 --- a/api/pl.treksoft.kvision.html/-icon/icon.html +++ b/api/pl.treksoft.kvision.html/-icon/icon.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.html / Icon / icon

icon

- +(js) var icon: String

Icon type.

Getter
diff --git a/api/pl.treksoft.kvision.html/-icon/index.html b/api/pl.treksoft.kvision.html/-icon/index.html index 751d9996..b2cdc790 100644 --- a/api/pl.treksoft.kvision.html/-icon/index.html +++ b/api/pl.treksoft.kvision.html/-icon/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.html / Icon

Icon

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

Icon component with support for FontAwesome and Bootstrap glyphicons.

Constructors

@@ -27,71 +28,12 @@ - - -
-

<init>

+(js) +

<init>

Icon(icon: String)
-

icon

+(js) +

icon

-var icon: String

Icon type.

-
-

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - +var icon: String
-

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.

-
@@ -100,33 +42,12 @@ -

getSnClass

+(js) +

getSnClass

-open fun getSnClass(): List<StringBoolPair>

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

- - - - -

Inherited Functions

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

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

unaryPlus

-
-operator fun String.unaryPlus(): Unit
@@ -135,24 +56,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> @@ -161,877 +85,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, init: (CheckBox.() -> Unit)? = null): CheckBox -

checkBoxInput

+(js) +

checkBoxInput

-fun Container.checkBoxInput(value: Boolean = false,