From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 2 Apr 2018 01:35:47 +0200 Subject: API documentantion update --- api/pl.treksoft.kvision.html/-label/-init-.html | 8 ++++---- api/pl.treksoft.kvision.html/-label/index.html | 23 ++++++++++++++++------- api/pl.treksoft.kvision.html/-label/label.html | 2 +- 3 files changed, 21 insertions(+), 12 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 d396f2f9..a698d4db 100644 --- a/api/pl.treksoft.kvision.html/-label/-init-.html +++ b/api/pl.treksoft.kvision.html/-label/-init-.html @@ -9,12 +9,12 @@

<init>

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

Parameters

-

-text - label text

+

+content - label text

-rich - determines if text 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 d7909ce8..ca8db5e2 100644 --- a/api/pl.treksoft.kvision.html/-label/index.html +++ b/api/pl.treksoft.kvision.html/-label/index.html @@ -18,7 +18,7 @@

<init>

-Label(text: String, rich: Boolean = false) +Label(content: String? = null, rich: Boolean = false) @@ -36,20 +36,29 @@ +

content

+ + +open var content: String? +

Text content of the tag.

+ + + +

rich

-var rich: Boolean -

Determines if text can contain HTML code.

+open var rich: Boolean +

Determines if content can contain HTML code.

-

text

+

template

-var text: String? -

Text content of the tag.

+open var template: (Any?) -> String +

Handlebars template.

@@ -94,7 +103,7 @@

label

-fun Container.label(text: String, 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.

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

label

-fun Container.label(text: String, 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.

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

-- cgit