From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-grid-panel/index.html | 232 +++++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html (limited to 'docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html') diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html new file mode 100644 index 00000000..1dadb4ac --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html @@ -0,0 +1,232 @@ + + + +GridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel
+
+

GridPanel

+open class GridPanel : SimplePanel +

The container with CSS grid layout support.

+

Constructors

+ + + + + + + +
+

<init>

+
+GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GRIDFLOW? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GRIDJUSTIFY? = null, alignItems: GRIDALIGN? = null, justifyContent: GRIDJUSTIFYCONTENT? = null, alignContent: GRIDALIGNCONTENT? = null, classes: Set<String> = setOf())
+

Properties

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

alignContent

+
+var alignContent: GRIDALIGNCONTENT? +

CSS grid content alignment.

+
+

alignItems

+
+var alignItems: GRIDALIGN? +

CSS grid items alignment.

+
+

autoColumns

+
+var autoColumns: String? +

CSS grid auto columns.

+
+

autoFlow

+
+var autoFlow: GRIDFLOW? +

CSS grid auto flow.

+
+

autoRows

+
+var autoRows: String? +

CSS grid auto rows.

+
+

columnGap

+
+var columnGap: Int? +

CSS grid column gap.

+
+

justifyContent

+
+var justifyContent: GRIDJUSTIFYCONTENT? +

CSS grid content justification.

+
+

justifyItems

+
+var justifyItems: GRIDJUSTIFY? +

CSS grid items justification.

+
+

rowGap

+
+var rowGap: Int? +

CSS grid row gap.

+
+

templateAreas

+
+var templateAreas: List<String>? +

CSS grid areas template.

+
+

templateColumns

+
+var templateColumns: String? +

CSS grid columns template.

+
+

templateRows

+
+var templateRows: String? +

CSS grid rows template.

+
+

Functions

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

add

+
+fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GRIDJUSTIFY? = null, alignSelf: GRIDALIGN? = null, classes: Set<String> = setOf()): GridPanel +

Adds a component to the grid container.

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

Adds given component to the current container.

+
+

addAll

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

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): GridPanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): GridPanel +

Removes all children from the current container.

+
+

Inherited Functions

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

addInternal

+
+fun addInternal(child: Component): SimplePanel +

Protected and final method to add given component to the current container.

+
+

childrenVNodes

+
+open fun childrenVNodes(): Array<VNode> +

Returns the array of the children Snabbdom vnodes.

+
+

getChildren

+
+open fun getChildren(): List<Component> +

Returns a list of children of the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+ + -- cgit