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 --- .../-header/-init-.html | 21 ++++ .../-header/header.html | 18 +++ .../-header/index.html | 123 +++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 api/pl.treksoft.kvision.dropdown/-header/-init-.html create mode 100644 api/pl.treksoft.kvision.dropdown/-header/header.html create mode 100644 api/pl.treksoft.kvision.dropdown/-header/index.html (limited to 'api/pl.treksoft.kvision.dropdown/-header') diff --git a/api/pl.treksoft.kvision.dropdown/-header/-init-.html b/api/pl.treksoft.kvision.dropdown/-header/-init-.html new file mode 100644 index 00000000..3d47ac09 --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/-init-.html @@ -0,0 +1,21 @@ + + + +Header.<init> - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header / <init>
+
+

<init>

+ +Header(content: String? = null, classes: Set<String> = setOf()) +

Parameters

+

+content - header content text

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-header/header.html b/api/pl.treksoft.kvision.dropdown/-header/header.html new file mode 100644 index 00000000..cd2a539b --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/header.html @@ -0,0 +1,18 @@ + + + +Header.header - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header / header
+
+

header

+ +fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
+ +fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header +

DSL builder extension function.

+

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

+ + diff --git a/api/pl.treksoft.kvision.dropdown/-header/index.html b/api/pl.treksoft.kvision.dropdown/-header/index.html new file mode 100644 index 00000000..4146a17c --- /dev/null +++ b/api/pl.treksoft.kvision.dropdown/-header/index.html @@ -0,0 +1,123 @@ + + + +Header - kvision + + + +kvision / pl.treksoft.kvision.dropdown / Header
+
+

Header

+open class Header : Tag +

Menu header component.

+

Constructors

+ + + + + + + +
+

<init>

+
+Header(content: String? = null, classes: Set<String> = setOf())
+

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

+ + + + + + + +
+

header

+
+fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
+fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header +

DSL builder extension function.

+
+ + -- cgit