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.table/-table/-init-.html | 2 +- api/pl.treksoft.kvision.table/-table/add-all.html | 3 +- .../-table/add-header-cell.html | 2 +- api/pl.treksoft.kvision.table/-table/add.html | 3 +- api/pl.treksoft.kvision.table/-table/caption.html | 2 +- .../-table/children-v-nodes.html | 3 +- .../-table/get-children.html | 3 +- .../-table/get-sn-class.html | 3 +- .../-table/header-names.html | 2 +- api/pl.treksoft.kvision.table/-table/index.html | 707 ++++++++++----------- .../-table/remove-all.html | 3 +- .../-table/remove-header-cell.html | 2 +- .../-table/remove-header-cells.html | 2 +- api/pl.treksoft.kvision.table/-table/remove.html | 3 +- api/pl.treksoft.kvision.table/-table/render.html | 3 +- .../-table/responsive-type.html | 2 +- api/pl.treksoft.kvision.table/-table/types.html | 2 +- 17 files changed, 360 insertions(+), 387 deletions(-) (limited to 'api/pl.treksoft.kvision.table/-table') diff --git a/api/pl.treksoft.kvision.table/-table/-init-.html b/api/pl.treksoft.kvision.table/-table/-init-.html index b77b0b38..b959238a 100644 --- a/api/pl.treksoft.kvision.table/-table/-init-.html +++ b/api/pl.treksoft.kvision.table/-table/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.table / Table / <init>

<init>

- +(js) Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)

Parameters

diff --git a/api/pl.treksoft.kvision.table/-table/add-all.html b/api/pl.treksoft.kvision.table/-table/add-all.html index 6b7370b3..d0bd7c98 100644 --- a/api/pl.treksoft.kvision.table/-table/add-all.html +++ b/api/pl.treksoft.kvision.table/-table/add-all.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / addAll

addAll

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

Overrides SimplePanel.addAll

Adds a list of components to the current container.

Parameters

diff --git a/api/pl.treksoft.kvision.table/-table/add-header-cell.html b/api/pl.treksoft.kvision.table/-table/add-header-cell.html index e71ba99b..97adc772 100644 --- a/api/pl.treksoft.kvision.table/-table/add-header-cell.html +++ b/api/pl.treksoft.kvision.table/-table/add-header-cell.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.table / Table / addHeaderCell

addHeaderCell

- +(js) fun addHeaderCell(cell: HeaderCell): Table

Adds new header cell to the table.

Parameters

diff --git a/api/pl.treksoft.kvision.table/-table/add.html b/api/pl.treksoft.kvision.table/-table/add.html index 528e6452..716baa37 100644 --- a/api/pl.treksoft.kvision.table/-table/add.html +++ b/api/pl.treksoft.kvision.table/-table/add.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / add

add

- +(js) open fun add(child: Component): SimplePanel -

Overrides SimplePanel.add

Adds given component to the current container.

Parameters

diff --git a/api/pl.treksoft.kvision.table/-table/caption.html b/api/pl.treksoft.kvision.table/-table/caption.html index 4e491611..3cfc473c 100644 --- a/api/pl.treksoft.kvision.table/-table/caption.html +++ b/api/pl.treksoft.kvision.table/-table/caption.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.table / Table / caption

caption

- +(js) var caption: String?

Table caption.

Getter
diff --git a/api/pl.treksoft.kvision.table/-table/children-v-nodes.html b/api/pl.treksoft.kvision.table/-table/children-v-nodes.html index 23ec3435..56e2f4fe 100644 --- a/api/pl.treksoft.kvision.table/-table/children-v-nodes.html +++ b/api/pl.treksoft.kvision.table/-table/children-v-nodes.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / childrenVNodes

childrenVNodes

- +(js) protected open fun childrenVNodes(): Array<VNode> -

Overrides SimplePanel.childrenVNodes

Returns the array of the children Snabbdom vnodes.

Return
array of children vnodes

diff --git a/api/pl.treksoft.kvision.table/-table/get-children.html b/api/pl.treksoft.kvision.table/-table/get-children.html index e203feba..c4f376fd 100644 --- a/api/pl.treksoft.kvision.table/-table/get-children.html +++ b/api/pl.treksoft.kvision.table/-table/get-children.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / getChildren

getChildren

- +(js) open fun getChildren(): List<Component> -

Overrides SimplePanel.getChildren

Returns a list of children of the current container.

Return
list of children

diff --git a/api/pl.treksoft.kvision.table/-table/get-sn-class.html b/api/pl.treksoft.kvision.table/-table/get-sn-class.html index 60b5664f..40199d7b 100644 --- a/api/pl.treksoft.kvision.table/-table/get-sn-class.html +++ b/api/pl.treksoft.kvision.table/-table/get-sn-class.html @@ -8,9 +8,8 @@ kvision / pl.treksoft.kvision.table / Table / getSnClass

getSnClass

- +(js) protected open fun getSnClass(): List<StringBoolPair> -

Overrides Widget.getSnClass

Returns list of CSS class names for current widget in the form of a List.

Return
list of CSS class names

diff --git a/api/pl.treksoft.kvision.table/-table/header-names.html b/api/pl.treksoft.kvision.table/-table/header-names.html index a4c3986e..fd1aed8d 100644 --- a/api/pl.treksoft.kvision.table/-table/header-names.html +++ b/api/pl.treksoft.kvision.table/-table/header-names.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.table / Table / headerNames

headerNames

- +(js) var headerNames: List<String>?

Table headers names.

Getter
diff --git a/api/pl.treksoft.kvision.table/-table/index.html b/api/pl.treksoft.kvision.table/-table/index.html index 64109e7e..5d83cee9 100644 --- a/api/pl.treksoft.kvision.table/-table/index.html +++ b/api/pl.treksoft.kvision.table/-table/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.table / Table

Table

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

HTML table component.

Constructors

@@ -27,51 +28,39 @@ +var caption: String? +var headerNames: List<String>? +var responsiveType: ResponsiveType? - - -
-

<init>

+(js) +

<init>

Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
-

caption

+(js) +

caption

-var caption: String?

Table caption.

-
-

headerNames

+(js) +

headerNames

-var headerNames: List<String>?

Table headers names.

-
-

responsiveType

+(js) +

responsiveType

-var responsiveType: ResponsiveType?

Determines if the table is responsive.

-
-

types

+(js) +

types

-var types: Set<TableType>

Table types.

-
-

Inherited Properties

- - - - - +var types: Set<TableType>
-

children

-
-val children: MutableList<Component>
@@ -80,116 +69,102 @@ -

add

+(js) +

add

-open fun add(child: Component): SimplePanel

Adds given component to the current container.

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

addAll

+(js) +

addAll

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

Adds a list of components to the current container.

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

addHeaderCell

+(js) +

addHeaderCell

-fun addHeaderCell(cell: HeaderCell): Table

Adds new header cell to the table.

- +fun addHeaderCell(cell: HeaderCell): Table -

childrenVNodes

+(js) +

childrenVNodes

-open fun childrenVNodes(): Array<VNode>

Returns the array of the children Snabbdom vnodes.

- +open fun childrenVNodes(): Array<VNode> -

getChildren

+(js) +

getChildren

-open fun getChildren(): List<Component>

Returns a list of children of the current container.

- +open fun getChildren(): List<Component> -

getSnClass

+(js) +

getSnClass

-open fun getSnClass(): List<StringBoolPair>

Returns list of CSS class names for current widget in the form of a List.

- +open fun getSnClass(): List<StringBoolPair> -

remove

+(js) +

remove

-open fun remove(child: Component): SimplePanel

Removes given component from the current container.

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

removeAll

+(js) +

removeAll

-open fun removeAll(): SimplePanel

Removes all children from the current container.

- +open fun removeAll(): SimplePanel -

removeHeaderCell

+(js) +

removeHeaderCell

-fun removeHeaderCell(cell: HeaderCell): Table

Removes given header cell from the table.

- +fun removeHeaderCell(cell: HeaderCell): Table -

removeHeaderCells

+(js) +

removeHeaderCells

-fun removeHeaderCells(): Table

Removes all header cells from table.

- +fun removeHeaderCells(): Table -

render

+(js) +

render

-open fun render(): VNode

Renders current component as a Snabbdom vnode.

- - - - -

Inherited Functions

- - - - - +open fun render(): VNode
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
@@ -198,24 +173,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> @@ -224,876 +202,879 @@ -

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