From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-grid-panel/index.html | 742 ++++++++++----------- 1 file changed, 348 insertions(+), 394 deletions(-) (limited to 'api/pl.treksoft.kvision.panel/-grid-panel/index.html') diff --git a/api/pl.treksoft.kvision.panel/-grid-panel/index.html b/api/pl.treksoft.kvision.panel/-grid-panel/index.html index 8b3dd165..1aabd27c 100644 --- a/api/pl.treksoft.kvision.panel/-grid-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-grid-panel/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.panel / GridPanel

GridPanel

-open class GridPanel : SimplePanel +(js) open class GridPanel : SimplePanel

The container with CSS grid layout support.

Constructors

@@ -27,123 +28,111 @@ +var alignContent: GridAlignContent? +var alignItems: GridAlign? +var autoColumns: String? +var autoFlow: GridFlow? +var autoRows: String? +var columnGap: Int? +var justifyContent: GridJustifyContent? +var justifyItems: GridJustify? +var rowGap: Int? +var templateAreas: List<String>? +var templateColumns: String? - - -
-

<init>

+(js) +

<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)
-

alignContent

+(js) +

alignContent

-var alignContent: GridAlignContent?

CSS grid content alignment.

-
-

alignItems

+(js) +

alignItems

-var alignItems: GridAlign?

CSS grid items alignment.

-
-

autoColumns

+(js) +

autoColumns

-var autoColumns: String?

CSS grid auto columns.

-
-

autoFlow

+(js) +

autoFlow

-var autoFlow: GridFlow?

CSS grid auto flow.

-
-

autoRows

+(js) +

autoRows

-var autoRows: String?

CSS grid auto rows.

-
-

columnGap

+(js) +

columnGap

-var columnGap: Int?

CSS grid column gap.

-
-

justifyContent

+(js) +

justifyContent

-var justifyContent: GridJustifyContent?

CSS grid content justification.

-
-

justifyItems

+(js) +

justifyItems

-var justifyItems: GridJustify?

CSS grid items justification.

-
-

rowGap

+(js) +

rowGap

-var rowGap: Int?

CSS grid row gap.

-
-

templateAreas

+(js) +

templateAreas

-var templateAreas: List<String>?

CSS grid areas template.

-
-

templateColumns

+(js) +

templateColumns

-var templateColumns: String?

CSS grid columns template.

-
-

templateRows

+(js) +

templateRows

-var templateRows: String?

CSS grid rows template.

-
-

Inherited Properties

- - - - - +var templateRows: String?
-

children

-
-val children: MutableList<Component>
@@ -152,91 +141,50 @@ -

add

+(js) +

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 +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 given component to the current container.

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

addAll

+(js) +

addAll

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

Adds a list of components to the current container.

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

getSnStyle

+(js) +

getSnStyle

-open fun getSnStyle(): List<StringPair>

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

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

remove

+(js) +

remove

-open fun remove(child: Component): GridPanel

Removes given component from the current container.

- +open fun remove(child: Component): GridPanel -

removeAll

+(js) +

removeAll

-open fun removeAll(): GridPanel

Removes all children from the current container.

- - - - -

Inherited Functions

- - - - - - - - - - - - - - - - - +open fun removeAll(): GridPanel
-

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.

-
@@ -245,24 +193,27 @@ -

changeFlow

+(js) +

changeFlow

-val <T : Widget> T.changeFlow: <ERROR CLASS><T> +val <T : Widget> T.changeFlow: Flow<T> -

clickFlow

+(js) +

clickFlow

-val <T : Widget> T.clickFlow: <ERROR CLASS><T> +val <T : Widget> T.clickFlow: Flow<T> -

inputFlow

+(js) +

inputFlow

-val <T : Widget> T.inputFlow: <ERROR CLASS><T> +val <T : Widget> T.inputFlow: Flow<T> @@ -271,867 +222,870 @@ -

addBsBgColor

+(js) +

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit -

addBsBorder

+(js) +

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit -

addBsClearfix

+(js) +

addBsClearfix

fun Component.addBsClearfix(): Unit -

addBsColor

+(js) +

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit -

addBsRounded

+(js) +

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit -

bold

+(js) +

bold

-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold

DSL builder extension function.

- +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold -

button

+(js) +

button

-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button

DSL builder extension function.

- +fun Container.button(text: String, icon: