From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+
+
+
+
+
+
+
+
+ Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
+ Return Adds a component to the grid container.
+
+
+
+
+
+
+ Return Overrides SimplePanel.add Adds given component to the current container. Return CSS grid content alignment. Getter CSS grid content alignment.
+
+<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(), init: GridPanel.() -> Unit = null)
+Parameters
+autoColumns - grid auto columnstemplateColumns - grid columns templatetemplateRows - grid rows templatetemplateAreas - grid areas templatejustifyItems - grid items justificationalignItems - grid items alignmentjustifyContent - flexbox content justificationalignContent - flexbox content alignmentclasses - a set of CSS class namesinit - an initializer extension function
+
+
+addAll
+
+open fun addAll(children: List<Component>): GridPanel
+Parameters
+children - list of child components
+current container
+
+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
+Parameters
+
+columnStart - number of starting columnrowStart - number of starting rowcolumnEnd - number of ending columnrowEnd - number of ending rowjustifySelf - child self justificationalignSelf - child self alignmentclasses - a set of CSS class names
+current containeropen fun add(child: Component): GridPanel
+Parameters
+
+
+current container
+
+alignContent
+
+var alignContent: GridAlignContent?
+
+
Setter
+
CSS grid content alignment.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/align-items.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/align-items.html new file mode 100644 index 00000000..a2d50861 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/align-items.html @@ -0,0 +1,21 @@ + + + +var alignItems: GridAlign?
+CSS grid items alignment.
+Getter
+
CSS grid items alignment.
+ +Setter
+
CSS grid items alignment.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html new file mode 100644 index 00000000..d6c9a818 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html @@ -0,0 +1,21 @@ + + + +var autoColumns: String?
+CSS grid auto columns.
+Getter
+
CSS grid auto columns.
+ +Setter
+
CSS grid auto columns.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html new file mode 100644 index 00000000..a8bdd03f --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html @@ -0,0 +1,21 @@ + + + +var autoFlow: GridFlow?
+CSS grid auto flow.
+Getter
+
CSS grid auto flow.
+ +Setter
+
CSS grid auto flow.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html new file mode 100644 index 00000000..bd15860f --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html @@ -0,0 +1,21 @@ + + + +var autoRows: String?
+CSS grid auto rows.
+Getter
+
CSS grid auto rows.
+ +Setter
+
CSS grid auto rows.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/column-gap.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/column-gap.html new file mode 100644 index 00000000..a5767da3 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/column-gap.html @@ -0,0 +1,21 @@ + + + +var columnGap: Int?
+CSS grid column gap.
+Getter
+
CSS grid column gap.
+ +Setter
+
CSS grid column gap.
+ + + diff --git a/api/kvision/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html new file mode 100644 index 00000000..7cc9dc49 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html @@ -0,0 +1,18 @@ + + + +protected open fun getSnStyle(): List<StringPair>
+Overrides StyledComponent.getSnStyle
+Returns the list of String pairs defining CSS style attributes and their values.
+Return
+the list of attributes and their values
fun Container.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(), init: GridPanel.() -> Unit = null): GridPanel
+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/-grid-panel/index.html b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/index.html new file mode 100644 index 00000000..6d933d58 --- /dev/null +++ b/api/kvision/pl.treksoft.kvision.panel/-grid-panel/index.html @@ -0,0 +1,246 @@ + + + +open class GridPanel : SimplePanel
+The container with CSS grid layout support.
+| + + | +
+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(), init: GridPanel.() -> Unit = null) |
+
| + + | +
+var alignContent: GridAlignContent?
+CSS grid content alignment. + |
+
| + + | +
+var alignItems: GridAlign?
+CSS grid items alignment. + |
+
| + + | +
+var autoColumns: String?
+CSS grid auto columns. + |
+
| + + | +
+var autoFlow: GridFlow?
+CSS grid auto flow. + |
+
| + + | +
+var autoRows: String?
+CSS grid auto rows. + |
+
| + + | +
+var columnGap: Int?
+CSS grid column gap. + |
+
| + + | +
+v |