From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../pl.treksoft.kvision.panel/-flex-panel/add.html | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 api1/pl.treksoft.kvision.panel/-flex-panel/add.html (limited to 'api1/pl.treksoft.kvision.panel/-flex-panel/add.html') diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/add.html b/api1/pl.treksoft.kvision.panel/-flex-panel/add.html new file mode 100644 index 00000000..fe953bd6 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/add.html @@ -0,0 +1,39 @@ + + + +FlexPanel.add - kvision + + + +kvision / pl.treksoft.kvision.panel / FlexPanel / add
+
+

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.

+

Parameters

+

+child - child component

+

+order - child flexbox ordering

+

+grow - child flexbox grow

+

+shrink - child flexbox shrink

+

+basis - child flexbox basis

+

+alignSelf - child self alignment

+

+classes - a set of CSS class names

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

Overrides SimplePanel.add

+

Adds given component to the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + -- cgit