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.table/-row/-init-.html | 21 ++++ api1/pl.treksoft.kvision.table/-row/index.html | 153 ++++++++++++++++++++++++ api1/pl.treksoft.kvision.table/-row/row.html | 16 +++ 3 files changed, 190 insertions(+) create mode 100644 api1/pl.treksoft.kvision.table/-row/-init-.html create mode 100644 api1/pl.treksoft.kvision.table/-row/index.html create mode 100644 api1/pl.treksoft.kvision.table/-row/row.html (limited to 'api1/pl.treksoft.kvision.table/-row') diff --git a/api1/pl.treksoft.kvision.table/-row/-init-.html b/api1/pl.treksoft.kvision.table/-row/-init-.html new file mode 100644 index 00000000..4f436e65 --- /dev/null +++ b/api1/pl.treksoft.kvision.table/-row/-init-.html @@ -0,0 +1,21 @@ + + + +Row.<init> - kvision + + + +kvision / pl.treksoft.kvision.table / Row / <init>
+
+

<init>

+ +Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null) +

Parameters

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api1/pl.treksoft.kvision.table/-row/index.html b/api1/pl.treksoft.kvision.table/-row/index.html new file mode 100644 index 00000000..b44d4e74 --- /dev/null +++ b/api1/pl.treksoft.kvision.table/-row/index.html @@ -0,0 +1,153 @@ + + + +Row - kvision + + + +kvision / pl.treksoft.kvision.table / Row
+
+

Row

+open class Row : Tag +

HTML table row component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null)
+

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

+ + + + + + + +
+

row

+
+fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +

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.table/-row/row.html b/api1/pl.treksoft.kvision.table/-row/row.html new file mode 100644 index 00000000..312e6176 --- /dev/null +++ b/api1/pl.treksoft.kvision.table/-row/row.html @@ -0,0 +1,16 @@ + + + +Row.row - kvision + + + +kvision / pl.treksoft.kvision.table / Row / row
+
+

row

+ +fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row +

DSL builder extension function.

+

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

+ + -- cgit