From c9f98dfdbdc3f56553b58dc226b3f841189d0fc0 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 7 Mar 2018 13:46:10 +0100 Subject: API documentation update --- api/pl.treksoft.kvision.html/-icon/-init-.html | 19 ++++ .../-icon/get-sn-class.html | 18 +++ api/pl.treksoft.kvision.html/-icon/icon.html | 25 +++++ api/pl.treksoft.kvision.html/-icon/index.html | 123 +++++++++++++++++++++ 4 files changed, 185 insertions(+) create mode 100644 api/pl.treksoft.kvision.html/-icon/-init-.html create mode 100644 api/pl.treksoft.kvision.html/-icon/get-sn-class.html create mode 100644 api/pl.treksoft.kvision.html/-icon/icon.html create mode 100644 api/pl.treksoft.kvision.html/-icon/index.html (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 new file mode 100644 index 00000000..08671b45 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-icon/-init-.html @@ -0,0 +1,19 @@ + + + +Icon.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / Icon / <init>
+
+

<init>

+ +Icon(icon: String) +

Parameters

+

+icon - icon name

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.html/-icon/get-sn-class.html b/api/pl.treksoft.kvision.html/-icon/get-sn-class.html new file mode 100644 index 00000000..ae52c838 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-icon/get-sn-class.html @@ -0,0 +1,18 @@ + + + +Icon.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.html / Icon / getSnClass
+
+

getSnClass

+ +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 new file mode 100644 index 00000000..2183247f --- /dev/null +++ b/api/pl.treksoft.kvision.html/-icon/icon.html @@ -0,0 +1,25 @@ + + + +Icon.icon - kvision + + + +kvision / pl.treksoft.kvision.html / Icon / icon
+
+

icon

+ +var icon: String +

Icon type.

+

Getter
+

Icon type.

+

+

Setter
+

Icon type.

+

+ +fun Container.icon(icon: String, init: Icon.() -> Unit = null): Icon +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api/pl.treksoft.kvision.html/-icon/index.html b/api/pl.treksoft.kvision.html/-icon/index.html new file mode 100644 index 00000000..7a17ae76 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-icon/index.html @@ -0,0 +1,123 @@ + + + +Icon - kvision + + + +kvision / pl.treksoft.kvision.html / Icon
+
+

Icon

+open class Icon : Tag +

Icon component with support for FontAwesome and Bootstrap glyphicons.

+

Constructors

+ + + + + + + +
+

<init>

+
+Icon(icon: String)
+

Properties

+ + + + + + + +
+

icon

+
+var icon: String +

Icon type.

+
+

Inherited Properties

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

align

+
+var align: Align? +

Text align.

+
+

rich

+
+var rich: Boolean +

Determines if text can contain HTML code.

+
+

text

+
+var text: String? +

Text content of the tag.

+
+

type

+
+var type: TAG +

Tag type.

+
+

Functions

+ + + + + + + +
+

getSnClass

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

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

+
+

Inherited Functions

+ + + + + + + +
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

icon

+
+fun Container.icon(icon: String, init: Icon.() -> Unit = null): Icon +

DSL builder extension function.

+
+ + -- cgit