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 --- .../-progress-bar-style/-d-a-n-g-e-r.html | 14 ++ .../-progress-bar-style/-i-n-f-o.html | 14 ++ .../-progress-bar-style/-s-u-c-c-e-s-s.html | 14 ++ .../-progress-bar-style/-w-a-r-n-i-n-g.html | 14 ++ .../-progress-bar-style/index.html | 61 ++++++ .../-progress-bar/-init-.html | 39 ++++ .../-progress-bar/align.html | 15 ++ .../-progress-bar/animated.html | 15 ++ .../-progress-bar/content.html | 15 ++ .../-progress-bar/index.html | 217 +++++++++++++++++++++ .../-progress-bar/max.html | 15 ++ .../-progress-bar/min.html | 15 ++ .../-progress-bar/progress-bar.html | 16 ++ .../-progress-bar/progress.html | 15 ++ .../-progress-bar/rich.html | 15 ++ .../-progress-bar/striped.html | 15 ++ .../-progress-bar/style.html | 15 ++ api1/pl.treksoft.kvision.progress/index.html | 36 ++++ 18 files changed, 560 insertions(+) create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar-style/index.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/-init-.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/align.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/animated.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/content.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/index.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/max.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/min.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/progress.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/rich.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/striped.html create mode 100644 api1/pl.treksoft.kvision.progress/-progress-bar/style.html create mode 100644 api1/pl.treksoft.kvision.progress/index.html (limited to 'api1/pl.treksoft.kvision.progress') diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html new file mode 100644 index 00000000..8eac1076 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-d-a-n-g-e-r.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.DANGER - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / DANGER
+
+

DANGER

+ +DANGER + + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html new file mode 100644 index 00000000..00be604f --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-i-n-f-o.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.INFO - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / INFO
+
+

INFO

+ +INFO + + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html new file mode 100644 index 00000000..f9126670 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-s-u-c-c-e-s-s.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.SUCCESS - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / SUCCESS
+
+

SUCCESS

+ +SUCCESS + + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html new file mode 100644 index 00000000..3c35d6df --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar-style/-w-a-r-n-i-n-g.html @@ -0,0 +1,14 @@ + + + +ProgressBarStyle.WARNING - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle / WARNING
+
+

WARNING

+ +WARNING + + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar-style/index.html b/api1/pl.treksoft.kvision.progress/-progress-bar-style/index.html new file mode 100644 index 00000000..f34916f5 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar-style/index.html @@ -0,0 +1,61 @@ + + + +ProgressBarStyle - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBarStyle
+
+

ProgressBarStyle

+enum class ProgressBarStyle +

Progress bar styles.

+

Enum Values

+ + + + + + + + + + + + + + + + + + + +
+

SUCCESS

+
+
+

INFO

+
+
+

WARNING

+
+
+

DANGER

+
+
+

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/-init-.html b/api1/pl.treksoft.kvision.progress/-progress-bar/-init-.html new file mode 100644 index 00000000..948a6f55 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/-init-.html @@ -0,0 +1,39 @@ + + + +ProgressBar.<init> - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / <init>
+
+

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

Parameters

+

+progress - the current progress

+

+min - the minimal progress

+

+max - the maximal progress

+

+style - the style of the progress bar

+

+striped - determines if the progress bar is striped

+

+animated - determines if the progress bar is animated

+

+content - element text

+

+rich - determines if content can contain HTML code

+

+align - content align

+

+classes - a set of CSS class names

+

+init - an initializer extension function

+

Constructor
+

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/align.html b/api1/pl.treksoft.kvision.progress/-progress-bar/align.html new file mode 100644 index 00000000..08682713 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/align.html @@ -0,0 +1,15 @@ + + + +ProgressBar.align - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / align
+
+

align

+ +var align: Align? +

Text align of the progress bar.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/animated.html b/api1/pl.treksoft.kvision.progress/-progress-bar/animated.html new file mode 100644 index 00000000..84691635 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/animated.html @@ -0,0 +1,15 @@ + + + +ProgressBar.animated - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / animated
+
+

animated

+ +var animated: Boolean +

Determines if the progress bar is animated.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/content.html b/api1/pl.treksoft.kvision.progress/-progress-bar/content.html new file mode 100644 index 00000000..e56d0cf4 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/content.html @@ -0,0 +1,15 @@ + + + +ProgressBar.content - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / content
+
+

content

+ +var content: String? +

Text content of the progress bar.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/index.html b/api1/pl.treksoft.kvision.progress/-progress-bar/index.html new file mode 100644 index 00000000..747f7bdd --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/index.html @@ -0,0 +1,217 @@ + + + +ProgressBar - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar
+
+

ProgressBar

+open class ProgressBar : SimplePanel +

The Bootstrap progress bar.

+

Constructors

+ + + + + + + +
+

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

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

align

+
+var align: Align? +

Text align of the progress bar.

+
+

animated

+
+var animated: Boolean +

Determines if the progress bar is animated.

+
+

content

+
+var content: String? +

Text content of the progress bar.

+
+

max

+
+var max: Int +

The maximal progress.

+
+

min

+
+var min: Int +

The minimal progress.

+
+

progress

+
+var progress: Int +

The current progress.

+
+

rich

+
+var rich: Boolean +

Determines if content can contain HTML code.

+
+

striped

+
+var striped: Boolean +

Determines if the progress bar is striped.

+
+

style

+
+var style: ProgressBarStyle? +

The style of the progress bar.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

progressBar

+
+fun Container.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): ProgressBar +

DSL builder extension function.

+
+

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/max.html b/api1/pl.treksoft.kvision.progress/-progress-bar/max.html new file mode 100644 index 00000000..c78e8ded --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/max.html @@ -0,0 +1,15 @@ + + + +ProgressBar.max - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / max
+
+

max

+ +var max: Int +

The maximal progress.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/min.html b/api1/pl.treksoft.kvision.progress/-progress-bar/min.html new file mode 100644 index 00000000..33cd21b3 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/min.html @@ -0,0 +1,15 @@ + + + +ProgressBar.min - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / min
+
+

min

+ +var min: Int +

The minimal progress.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html b/api1/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html new file mode 100644 index 00000000..b3360113 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/progress-bar.html @@ -0,0 +1,16 @@ + + + +ProgressBar.progressBar - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / progressBar
+
+

progressBar

+ +fun Container.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): ProgressBar +

DSL builder extension function.

+

It takes the same parameters as the constructor of the built component.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/progress.html b/api1/pl.treksoft.kvision.progress/-progress-bar/progress.html new file mode 100644 index 00000000..a1f32452 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/progress.html @@ -0,0 +1,15 @@ + + + +ProgressBar.progress - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / progress
+
+

progress

+ +var progress: Int +

The current progress.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/rich.html b/api1/pl.treksoft.kvision.progress/-progress-bar/rich.html new file mode 100644 index 00000000..820555fe --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/rich.html @@ -0,0 +1,15 @@ + + + +ProgressBar.rich - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / rich
+
+

rich

+ +var rich: Boolean +

Determines if content can contain HTML code.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/striped.html b/api1/pl.treksoft.kvision.progress/-progress-bar/striped.html new file mode 100644 index 00000000..07a224ef --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/striped.html @@ -0,0 +1,15 @@ + + + +ProgressBar.striped - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / striped
+
+

striped

+ +var striped: Boolean +

Determines if the progress bar is striped.

+ + diff --git a/api1/pl.treksoft.kvision.progress/-progress-bar/style.html b/api1/pl.treksoft.kvision.progress/-progress-bar/style.html new file mode 100644 index 00000000..fa1bb89c --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/-progress-bar/style.html @@ -0,0 +1,15 @@ + + + +ProgressBar.style - kvision + + + +kvision / pl.treksoft.kvision.progress / ProgressBar / style
+
+

style

+ +var style: ProgressBarStyle? +

The style of the progress bar.

+ + diff --git a/api1/pl.treksoft.kvision.progress/index.html b/api1/pl.treksoft.kvision.progress/index.html new file mode 100644 index 00000000..fc809426 --- /dev/null +++ b/api1/pl.treksoft.kvision.progress/index.html @@ -0,0 +1,36 @@ + + + +pl.treksoft.kvision.progress - kvision + + + +kvision / pl.treksoft.kvision.progress
+
+

Package pl.treksoft.kvision.progress

+

Bootstrap progress bar component.

+

Types

+ + + + + + + + + + + +
+

ProgressBar

+
+open class ProgressBar : SimplePanel +

The Bootstrap progress bar.

+
+

ProgressBarStyle

+
+enum class ProgressBarStyle +

Progress bar styles.

+
+ + -- cgit