From eb930482e9972a21d39f2aea8b813acf58ff5b64 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 22 Oct 2018 00:01:39 +0200 Subject: API documentation for KVision 0.0.19 --- api/pl.treksoft.kvision.html/-div/-init-.html | 27 ++++++ api/pl.treksoft.kvision.html/-div/div.html | 16 ++++ api/pl.treksoft.kvision.html/-div/index.html | 122 ++++++++++++++++++++++++++ 3 files changed, 165 insertions(+) create mode 100644 api/pl.treksoft.kvision.html/-div/-init-.html create mode 100644 api/pl.treksoft.kvision.html/-div/div.html create mode 100644 api/pl.treksoft.kvision.html/-div/index.html (limited to 'api/pl.treksoft.kvision.html/-div') diff --git a/api/pl.treksoft.kvision.html/-div/-init-.html b/api/pl.treksoft.kvision.html/-div/-init-.html new file mode 100644 index 00000000..6eaaec1b --- /dev/null +++ b/api/pl.treksoft.kvision.html/-div/-init-.html @@ -0,0 +1,27 @@ + + + +Div.<init> - kvision + + + +kvision / pl.treksoft.kvision.html / Div / <init>
+
+

<init>

+ +Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null) +

Parameters

+

+content - element text

+

+rich - determines if content can contain HTML code

+

+align - content align

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.html/-div/div.html b/api/pl.treksoft.kvision.html/-div/div.html new file mode 100644 index 00000000..4a63b7a8 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-div/div.html @@ -0,0 +1,16 @@ + + + +Div.div - kvision + + + +kvision / pl.treksoft.kvision.html / Div / div
+
+

div

+ +fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div +

DSL builder extension function.

+

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

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

Div

+open class Div : Tag +

Simple component rendered as div.

+

Constructors

+ + + + + + + +
+

<init>

+
+Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> 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.

+
+

Companion Object Functions

+ + + + + + + +
+

div

+
+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div +

DSL builder extension function.

+
+ + -- cgit