From 8883419bfcec00947863741d48dbd89cc877615a Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 4 Apr 2019 13:10:28 +0200 Subject: API documentation for KVision 0.0.32 --- api/pl.treksoft.kvision.html/-label/-init-.html | 2 +- api/pl.treksoft.kvision.html/-label/index.html | 95 ++----------------------- api/pl.treksoft.kvision.html/-label/label.html | 4 +- 3 files changed, 8 insertions(+), 93 deletions(-) (limited to 'api/pl.treksoft.kvision.html/-label') diff --git a/api/pl.treksoft.kvision.html/-label/-init-.html b/api/pl.treksoft.kvision.html/-label/-init-.html index 5eb3bcc0..4b2bf1ef 100644 --- a/api/pl.treksoft.kvision.html/-label/-init-.html +++ b/api/pl.treksoft.kvision.html/-label/-init-.html @@ -14,7 +14,7 @@

content - label text

-rich - determines if content can contain HTML code

+rich - determines if content can contain HTML code

Constructor

diff --git a/api/pl.treksoft.kvision.html/-label/index.html b/api/pl.treksoft.kvision.html/-label/index.html index 305aff69..88d7c080 100644 --- a/api/pl.treksoft.kvision.html/-label/index.html +++ b/api/pl.treksoft.kvision.html/-label/index.html @@ -8,7 +8,9 @@ kvision / pl.treksoft.kvision.html / Label

Label

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

Simple label component rendered as span.

Constructors

@@ -22,95 +24,6 @@
-

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

Companion Object Functions

@@ -119,7 +32,7 @@

label

diff --git a/api/pl.treksoft.kvision.html/-label/label.html b/api/pl.treksoft.kvision.html/-label/label.html index a0667bb4..ca0e48b0 100644 --- a/api/pl.treksoft.kvision.html/-label/label.html +++ b/api/pl.treksoft.kvision.html/-label/label.html @@ -9,7 +9,9 @@

label

-fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): 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
-fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label +fun Container.label(content: String? = null, rich: Boolean = false, init: Label.() -> Unit = null): Label

DSL builder extension function.