From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 21 Oct 2018 23:59:34 +0200 Subject: API documentation for KVision 0.0.19 --- .../pl.treksoft.kvision.html/-label/-init-.html | 21 ++++ .../pl.treksoft.kvision.html/-label/index.html | 122 +++++++++++++++++++++ .../pl.treksoft.kvision.html/-label/label.html | 16 +++ 3 files changed, 159 insertions(+) create mode 100644 api/kvision/pl.treksoft.kvision.html/-label/-init-.html create mode 100644 api/kvision/pl.treksoft.kvision.html/-label/index.html create mode 100644 api/kvision/pl.treksoft.kvision.html/-label/label.html (limited to 'api/kvision/pl.treksoft.kvision.html/-label') diff --git a/api/kvision/pl.treksoft.kvision.html/-label/-init-.html b/api/kvision/pl.treksoft.kvision.html/-label/-init-.html new file mode 100644 index 00000000..5eb3bcc0 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.html/-label/-init-.html @@ -0,0 +1,21 @@ + + + +Label.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / Label / <init>
+
+

<init>

+ +Label(content: String? = null, rich: Boolean = false) +

Parameters

+

+content - label text

+

+rich - determines if content can contain HTML code

+

Constructor
+

+ + diff --git a/api/kvision/pl.treksoft.kvision.html/-label/index.html b/api/kvision/pl.treksoft.kvision.html/-label/index.html new file mode 100644 index 00000000..b6012f1f --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.html/-label/index.html @@ -0,0 +1,122 @@ + + + +Label - kvision + + + +kvision / pl.treksoft.kvision.html / Label
+
+

Label

+open class Label : Tag +

Simple label component rendered as span.

+

Constructors

+ + + + + + + +
+

<init>

+
+Label(content: String? = null, rich: Boolean = false)
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

label

+
+fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label +

DSL builder extension function.

+
+ + diff --git a/api/kvision/pl.treksoft.kvision.html/-label/label.html b/api/kvision/pl.treksoft.kvision.html/-label/label.html new file mode 100644 index 00000000..a0667bb4 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.html/-label/label.html @@ -0,0 +1,16 @@ + + + +Label.label - kvision + + + +kvision / pl.treksoft.kvision.html / Label / label
+
+

label

+ +fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label +

DSL builder extension function.

+

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

+ + -- cgit