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 --- .../-progress-bar-style/-d-a-n-g-e-r.html | 2 +- .../-progress-bar-style/-i-n-f-o.html | 2 +- .../-progress-bar-style/-s-u-c-c-e-s-s.html | 2 +- .../-progress-bar-style/-w-a-r-n-i-n-g.html | 2 +- .../-progress-bar-style/index.html | 28 +- .../-progress-bar/-init-.html | 2 +- .../-progress-bar/align.html | 2 +- .../-progress-bar/animated.html | 2 +- .../-progress-bar/content.html | 2 +- .../-progress-bar/index.html | 728 +++++++++------------ .../-progress-bar/max.html | 2 +- .../-progress-bar/min.html | 2 +- .../-progress-bar/progress.html | 2 +- .../-progress-bar/rich.html | 2 +- .../-progress-bar/striped.html | 2 +- .../-progress-bar/style.html | 2 +- api/pl.treksoft.kvision.progress/index.html | 18 +- api/pl.treksoft.kvision.progress/progress-bar.html | 2 +- 18 files changed, 356 insertions(+), 448 deletions(-) (limited to 'api/pl.treksoft.kvision.progress') diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html index 8eac1076..d83d3184 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBarStyle / DANGER

DANGER

- +(js) DANGER diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html index 00be604f..e837a4b6 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBarStyle / INFO

INFO

- +(js) INFO diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html index f9126670..23369c9d 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBarStyle / SUCCESS

SUCCESS

- +(js) SUCCESS diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html index 3c35d6df..f596fb37 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBarStyle / WARNING

WARNING

- +(js) WARNING diff --git a/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html b/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html index f34916f5..1e167d4e 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar-style/index.html @@ -8,54 +8,44 @@ kvision / pl.treksoft.kvision.progress / ProgressBarStyle

ProgressBarStyle

-enum class ProgressBarStyle +(js) enum class ProgressBarStyle

Progress bar styles.

Enum Values

-

SUCCESS

+(js) +

SUCCESS

-

INFO

+(js) +

INFO

-

WARNING

+(js) +

WARNING

-

DANGER

+(js) +

DANGER

-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html b/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html index 948a6f55..d59775ad 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBar / <init>

<init>

- +(js) ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null)

Parameters

diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/align.html b/api/pl.treksoft.kvision.progress/-progress-bar/align.html index 08682713..1e916f24 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/align.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/align.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBar / align

align

- +(js) var align: Align?

Text align of the progress bar.

diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/animated.html b/api/pl.treksoft.kvision.progress/-progress-bar/animated.html index 84691635..a09b618e 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/animated.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/animated.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBar / animated

animated

- +(js) var animated: Boolean

Determines if the progress bar is animated.

diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/content.html b/api/pl.treksoft.kvision.progress/-progress-bar/content.html index e56d0cf4..37c3aca4 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/content.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/content.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.progress / ProgressBar / content

content

- +(js) var content: String?

Text content of the progress bar.

diff --git a/api/pl.treksoft.kvision.progress/-progress-bar/index.html b/api/pl.treksoft.kvision.progress/-progress-bar/index.html index 10d1137f..65c94a2e 100644 --- a/api/pl.treksoft.kvision.progress/-progress-bar/index.html +++ b/api/pl.treksoft.kvision.progress/-progress-bar/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.progress / ProgressBar

ProgressBar

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

The Bootstrap progress bar.

Constructors

@@ -27,173 +28,84 @@ +var align: Align? +var animated: Boolean +var content: String? +var max: Int +var min: Int +var progress: Int +var rich: Boolean +var striped: Boolean - - -
-

<init>

+(js) +

<init>

ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null)
-

align

+(js) +

align

-var align: Align?

Text align of the progress bar.

-
-

animated

+(js) +

animated

-var animated: Boolean

Determines if the progress bar is animated.

-
-

content

+(js) +

content

-var content: String?

Text content of the progress bar.

-
-

max

+(js) +

max

-var max: Int

The maximal progress.

-
-

min

+(js) +

min

-var min: Int

The minimal progress.

-
-

progress

+(js) +

progress

-var progress: Int

The current progress.

-
-

rich

+(js) +

rich

-var rich: Boolean

Determines if content can contain HTML code.

-
-

striped

+(js) +

striped

-var striped: Boolean

Determines if the progress bar is striped.

-
-

style

+(js) +

style

-var style: ProgressBarStyle?

The style of the progress bar.

-
-

Inherited Properties

- - - - - - - -
-

children

-
-val children: MutableList<Component>
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +var style: ProgressBarStyle?
-

add

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

Adds given component to the current container.

-
-

addAll

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

Adds a list of components to the current container.

-
-

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.

-
-

remove

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

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): SimplePanel -

Removes all children from the current container.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
@@ -202,24 +114,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> @@ -228,867 +143,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<