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 --- .../pl.treksoft.kvision.panel/-h-panel/-init-.html | 29 ++++ .../-h-panel/h-panel.html | 16 +++ .../pl.treksoft.kvision.panel/-h-panel/index.html | 152 +++++++++++++++++++++ 3 files changed, 197 insertions(+) create mode 100644 api/kvision/pl.treksoft.kvision.panel/-h-panel/-init-.html create mode 100644 api/kvision/pl.treksoft.kvision.panel/-h-panel/h-panel.html create mode 100644 api/kvision/pl.treksoft.kvision.panel/-h-panel/index.html (limited to 'api/kvision/pl.treksoft.kvision.panel/-h-panel') diff --git a/api/kvision/pl.treksoft.kvision.panel/-h-panel/-init-.html b/api/kvision/pl.treksoft.kvision.panel/-h-panel/-init-.html new file mode 100644 index 00000000..afb7f9ad --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-h-panel/-init-.html @@ -0,0 +1,29 @@ + + + +HPanel.<init> - kvision + + + +kvision / pl.treksoft.kvision.panel / HPanel / <init>
+
+

<init>

+ +HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null) +

Parameters

+

+wrap - flexbox wrap

+

+justify - flexbox content justification

+

+alignItems - flexbox items alignment

+

+spacing - spacing between columns/rows

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api/kvision/pl.treksoft.kvision.panel/-h-panel/h-panel.html b/api/kvision/pl.treksoft.kvision.panel/-h-panel/h-panel.html new file mode 100644 index 00000000..ad1ea2c8 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-h-panel/h-panel.html @@ -0,0 +1,16 @@ + + + +HPanel.hPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / HPanel / hPanel
+
+

hPanel

+ +fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null): HPanel +

DSL builder extension function.

+

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

+ + diff --git a/api/kvision/pl.treksoft.kvision.panel/-h-panel/index.html b/api/kvision/pl.treksoft.kvision.panel/-h-panel/index.html new file mode 100644 index 00000000..67b7757f --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-h-panel/index.html @@ -0,0 +1,152 @@ + + + +HPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / HPanel
+
+

HPanel

+open class HPanel : FlexPanel +

The container with horizontal layout.

+

This is a special case of the flexbox layout.

+

Constructors

+ + + + + + + +
+

<init>

+
+HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null)
+

Inherited Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

alignContent

+
+var alignContent: FlexAlignContent? +

CSS flexbox content alignment.

+
+

alignItems

+
+var alignItems: FlexAlignItems? +

CSS flexbox items alignment.

+
+

direction

+
+var direction: FlexDir? +

CSS flexbox direction.

+
+

justify

+
+var justify: FlexJustify? +

CSS flexbox content justification.

+
+

spacing

+
+var spacing: Int? +

The spacing between columns/rows.

+
+

wrap

+
+var wrap: FlexWrap? +

CSS flexbox wrap mode.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel +

Adds a component to the flexbox container.

+open fun add(child: Component): FlexPanel +

Adds given component to the current container.

+
+

addAll

+
+open fun addAll(children: List<Component>): FlexPanel +

Adds a list of components to the current container.

+
+

getSnStyle

+
+open fun getSnStyle(): List<StringPair> +

Returns the list of String pairs defining CSS style attributes and their values.

+
+

remove

+
+open fun remove(child: Component): FlexPanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): FlexPanel +

Removes all children from the current container.

+
+

Companion Object Functions

+ + + + + + + +
+

hPanel

+
+fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: HPanel.() -> Unit = null): HPanel +

DSL builder extension function.

+
+ + -- cgit