From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 21 Oct 2018 23:59:34 +0200 Subject: API documentation for KVision 0.0.19 --- .../-nav-form/-init-.html | 23 ++++ .../-nav-form/get-sn-class.html | 18 +++ .../-nav-form/index.html | 141 +++++++++++++++++++++ .../-nav-form/nav-form.html | 16 +++ .../-nav-form/right-align.html | 21 +++ 5 files changed, 219 insertions(+) create mode 100644 api/kvision/pl.treksoft.kvision.navbar/-nav-form/-init-.html create mode 100644 api/kvision/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html create mode 100644 api/kvision/pl.treksoft.kvision.navbar/-nav-form/index.html create mode 100644 api/kvision/pl.treksoft.kvision.navbar/-nav-form/nav-form.html create mode 100644 api/kvision/pl.treksoft.kvision.navbar/-nav-form/right-align.html (limited to 'api/kvision/pl.treksoft.kvision.navbar/-nav-form') diff --git a/api/kvision/pl.treksoft.kvision.navbar/-nav-form/-init-.html b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/-init-.html new file mode 100644 index 00000000..475c2750 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/-init-.html @@ -0,0 +1,23 @@ + + + +NavForm.<init> - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / <init>
+
+

<init>

+ +NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null) +

Parameters

+

+rightAlign - determines if the nav form is aligned to the right

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/kvision/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html new file mode 100644 index 00000000..9c1f8630 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/get-sn-class.html @@ -0,0 +1,18 @@ + + + +NavForm.getSnClass - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / getSnClass
+
+

getSnClass

+ +protected open fun getSnClass(): List<StringBoolPair> +

Overrides Tag.getSnClass

+

Returns list of CSS class names for current widget in the form of a List.

+

Return
+list of CSS class names

+ + diff --git a/api/kvision/pl.treksoft.kvision.navbar/-nav-form/index.html b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/index.html new file mode 100644 index 00000000..1693a29d --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/index.html @@ -0,0 +1,141 @@ + + + +NavForm - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm
+
+

NavForm

+open class NavForm : Tag +

The Bootstrap Nav form container.

+

Constructors

+ + + + + + + +
+

<init>

+
+NavForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null)
+

Properties

+ + + + + + + +
+

rightAlign

+
+var rightAlign: Boolean +

Determines if the nav form is aligned to the right.

+
+

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.

+
+

Functions

+ + + + + + + +
+

getSnClass

+
+open fun getSnClass(): List<StringBoolPair> +

Returns list of CSS class names for current widget in the form of a List.

+
+

Inherited Functions

+ + + + + + + +
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

navForm

+
+fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null): NavForm +

DSL builder extension function.

+
+ + diff --git a/api/kvision/pl.treksoft.kvision.navbar/-nav-form/nav-form.html b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/nav-form.html new file mode 100644 index 00000000..faed10d2 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/nav-form.html @@ -0,0 +1,16 @@ + + + +NavForm.navForm - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / navForm
+
+

navForm

+ +fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: NavForm.() -> Unit = null): NavForm +

DSL builder extension function.

+

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

+ + diff --git a/api/kvision/pl.treksoft.kvision.navbar/-nav-form/right-align.html b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/right-align.html new file mode 100644 index 00000000..10f506d7 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.navbar/-nav-form/right-align.html @@ -0,0 +1,21 @@ + + + +NavForm.rightAlign - kvision + + + +kvision / pl.treksoft.kvision.navbar / NavForm / rightAlign
+
+

rightAlign

+ +var rightAlign: Boolean +

Determines if the nav form is aligned to the right.

+

Getter
+

Determines if the nav form is aligned to the right.

+

+

Setter
+

Determines if the nav form is aligned to the right.

+

+ + -- cgit