From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api1/pl.treksoft.kvision.html/-label/-init-.html | 21 ++++++++ api1/pl.treksoft.kvision.html/-label/index.html | 66 ++++++++++++++++++++++++ api1/pl.treksoft.kvision.html/-label/label.html | 18 +++++++ 3 files changed, 105 insertions(+) create mode 100644 api1/pl.treksoft.kvision.html/-label/-init-.html create mode 100644 api1/pl.treksoft.kvision.html/-label/index.html create mode 100644 api1/pl.treksoft.kvision.html/-label/label.html (limited to 'api1/pl.treksoft.kvision.html/-label') diff --git a/api1/pl.treksoft.kvision.html/-label/-init-.html b/api1/pl.treksoft.kvision.html/-label/-init-.html new file mode 100644 index 00000000..4b2bf1ef --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.html/-label/index.html b/api1/pl.treksoft.kvision.html/-label/index.html new file mode 100644 index 00000000..95ee6660 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/index.html @@ -0,0 +1,66 @@ + + + +Label - kvision + + + +kvision / pl.treksoft.kvision.html / Label
+
+

Label

+open class Label : Span
+Deprecated: Use Span class instead.
+
+

Simple label component rendered as span.

+

Constructors

+ + + + + + + +
+

<init>

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

Companion Object Functions

+ + + + + + + +
+

label

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

DSL builder extension function.

+
+

Extension Functions

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

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

setData

+
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
+fun <K : Any> Template.setData(obj: K): Unit +

Extension function to set serializable object as a template data.

+
+ + diff --git a/api1/pl.treksoft.kvision.html/-label/label.html b/api1/pl.treksoft.kvision.html/-label/label.html new file mode 100644 index 00000000..b4b4f9ef --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/label.html @@ -0,0 +1,18 @@ + + + +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
+Deprecated: User Span.Companion.span function instead.
+
+

DSL builder extension function.

+

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

+ + -- cgit