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 --- api/pl.treksoft.kvision.panel/-h-panel/-init-.html | 2 +- api/pl.treksoft.kvision.panel/-h-panel/index.html | 696 +++++++++------------ 2 files changed, 297 insertions(+), 401 deletions(-) (limited to 'api/pl.treksoft.kvision.panel/-h-panel') diff --git a/api/pl.treksoft.kvision.panel/-h-panel/-init-.html b/api/pl.treksoft.kvision.panel/-h-panel/-init-.html index 32662fca..272d4c95 100644 --- a/api/pl.treksoft.kvision.panel/-h-panel/-init-.html +++ b/api/pl.treksoft.kvision.panel/-h-panel/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.panel / HPanel / <init>

<init>

- +(js) HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null)

Parameters

diff --git a/api/pl.treksoft.kvision.panel/-h-panel/index.html b/api/pl.treksoft.kvision.panel/-h-panel/index.html index 00f9fff9..7757c0b6 100644 --- a/api/pl.treksoft.kvision.panel/-h-panel/index.html +++ b/api/pl.treksoft.kvision.panel/-h-panel/index.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.panel / HPanel

HPanel

-open class HPanel : FlexPanel +(js) open class HPanel : FlexPanel

The container with horizontal layout.

This is a special case of the flexbox layout.

Constructors

@@ -16,147 +16,40 @@ -

<init>

+(js) +

<init>

HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null) -

Inherited Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

alignContent

-
-var alignContent: FlexAlignContent? -

CSS flexbox content alignment.

-
-

alignItems

-
-var alignItems: FlexAlignItems? -

CSS flexbox items alignment.

-
-

direction

-
-var direction: FlexDir? -

CSS flexbox direction.

-
-

justify

-
-var justify: FlexJustify? -

CSS flexbox content justification.

-
-

spacing

-
-var spacing: Int? -

The spacing between columns/rows.

-
-

wrap

-
-var wrap: FlexWrap? -

CSS flexbox wrap mode.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - -
-

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.

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

Adds given component to the current container.

-
-

addAll

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

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

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): FlexPanel -

Removes all children from the current container.

-

Extension Properties

+val <T : Widget> T.changeFlow: Flow<T> +val <T : Widget> T.clickFlow: Flow<T> +val <T : Widget> T.inputFlow: Flow<T>
-

changeFlow

+(js) +

changeFlow

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

clickFlow

+(js) +

clickFlow

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

inputFlow

+(js) +

inputFlow

-val <T : Widget> T.inputFlow: <ERROR CLASS><T>
@@ -165,867 +58,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: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button -

buttonGroup

+(js) +

buttonGroup

-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup

DSL builder extension function.

- +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup -

canvas

+(js) +

canvas

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas

DSL builder extension function.

- +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas -

chart

+(js) +

chart

-fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart

DSL builder extension function.

- +fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null,