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 --- .../-responsive-grid-panel/index.html | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 api/kvision/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html (limited to 'api/kvision/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html') diff --git a/api/kvision/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html b/api/kvision/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html new file mode 100644 index 00000000..f3b5e3c4 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html @@ -0,0 +1,147 @@ + + + +ResponsiveGridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel
+
+

ResponsiveGridPanel

+open class ResponsiveGridPanel : SimplePanel +

The container with support for Bootstrap responsive grid layout.

+

Constructors

+ + + + + + + +
+

<init>

+
+ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null)
+

Properties

+ + + + + + + +
+

align

+
+var align: Align? +

Text align of grid cells.

+
+

Functions

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

add

+
+open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel +

Adds child component to the grid.

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

Adds given component to the current container.

+
+

addAll

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

Adds a list of components to the current container.

+
+

remove

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

Removes given component from the current container.

+
+

removeAt

+
+open fun removeAt(col: Int, row: Int): ResponsiveGridPanel +

Removes child component at given location (column, row).

+
+

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.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+

Companion Object Functions

+ + + + + + + +
+

responsiveGridPanel

+
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: ResponsiveGridPanel.() -> Unit = null): ResponsiveGridPanel +

DSL builder extension function.

+
+ + -- cgit