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.modal/-confirm/-init-.html | 2 +- api/pl.treksoft.kvision.modal/-confirm/align.html | 2 +- .../-confirm/cancel-title.html | 2 +- .../-confirm/cancel-visible.html | 2 +- api/pl.treksoft.kvision.modal/-confirm/index.html | 817 ++++++++------------- .../-confirm/no-title.html | 2 +- api/pl.treksoft.kvision.modal/-confirm/rich.html | 2 +- api/pl.treksoft.kvision.modal/-confirm/show.html | 2 +- api/pl.treksoft.kvision.modal/-confirm/text.html | 2 +- .../-confirm/yes-title.html | 2 +- 10 files changed, 329 insertions(+), 506 deletions(-) (limited to 'api/pl.treksoft.kvision.modal/-confirm') diff --git a/api/pl.treksoft.kvision.modal/-confirm/-init-.html b/api/pl.treksoft.kvision.modal/-confirm/-init-.html index 53febe44..14ad674d 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/-init-.html +++ b/api/pl.treksoft.kvision.modal/-confirm/-init-.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.modal / Confirm / <init>

<init>

- +(js) Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null)

Parameters

diff --git a/api/pl.treksoft.kvision.modal/-confirm/align.html b/api/pl.treksoft.kvision.modal/-confirm/align.html index e74ba605..afaf5d7b 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/align.html +++ b/api/pl.treksoft.kvision.modal/-confirm/align.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.modal / Confirm / align

align

- +(js) var align: Align?

Text align.

diff --git a/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html b/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html index b010823b..ad480caf 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html +++ b/api/pl.treksoft.kvision.modal/-confirm/cancel-title.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.modal / Confirm / cancelTitle

cancelTitle

- +(js) var cancelTitle: String

Cancel button text.

diff --git a/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html b/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html index 9260eafa..e97517ba 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html +++ b/api/pl.treksoft.kvision.modal/-confirm/cancel-visible.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.modal / Confirm / cancelVisible

cancelVisible

- +(js) var cancelVisible: Boolean

Determines if Cancel button is visible.

Getter
diff --git a/api/pl.treksoft.kvision.modal/-confirm/index.html b/api/pl.treksoft.kvision.modal/-confirm/index.html index 0a61503c..61c0bcc2 100644 --- a/api/pl.treksoft.kvision.modal/-confirm/index.html +++ b/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.modal / Confirm

Confirm

-open class Confirm : Modal +(js) open class Confirm : Modal

Confirm window based on Bootstrap modal.

Constructors

@@ -27,250 +28,66 @@ +var align: Align? +var cancelTitle: String +var cancelVisible: Boolean +var noTitle: String +var rich: Boolean +var text: String? - - -
-

<init>

+(js) +

<init>

Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null)
-

align

+(js) +

align

-var align: Align?

Text align.

-
-

cancelTitle

+(js) +

cancelTitle

-var cancelTitle: String

Cancel button text.

-
-

cancelVisible

+(js) +

cancelVisible

-var cancelVisible: Boolean

Determines if Cancel button is visible.

-
-

noTitle

+(js) +

noTitle

-var noTitle: String

No button text.

-
-

rich

+(js) +

rich

-var rich: Boolean

Determines if text can contain HTML code.

-
-

text

+(js) +

text

-var text: String?

Window content text.

-
-

yesTitle

+(js) +

yesTitle

-var yesTitle: String

Yes button text.

-
-

Inherited Properties

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

animation

-
-var animation: Boolean -

Determines if animations are used.

-
-

caption

-
-var caption: String? -

Window caption text.

-
-

centered

-
-var centered: Boolean -

Determines if modal dialog is vertically centered.

-
-

closeButton

-
-var closeButton: Boolean -

Determines if Close button is visible.

-
-

parent

-
-open var parent: Container?
-

size

-
-var size: ModalSize? -

Window size.

-
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +var yesTitle: String
-

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.

-
-

addButton

-
-open fun addButton(button: Button): Modal -

Adds given button to the bottom section of dialog window.

-
-

afterInsert

-
-open fun afterInsert(node: VNode): Unit -

Method called after inserting Snabbdom vnode into the DOM.

-
-

clearParent

-
-open fun clearParent(): Widget
-

getChildren

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

Returns a list of children of the current container.

-
-

getRoot

-
-open fun getRoot(): Root?
-

getSnClass

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

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

-
-

hide

-
-open fun hide(): Widget -

Makes current widget invisible.

-
-

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.

-
-

removeAllButtons

-
-open fun removeAllButtons(): Modal -

Removes all buttons from the bottom section of dialog window.

-
-

removeButton

-
-open fun removeButton(button: Button): Modal -

Removes given button from the bottom section of dialog window.

-
-

toggle

-
-open fun toggle(): Unit -

Toggle modal window visibility.

-
@@ -279,12 +96,12 @@ -

show

+(js) +

show

-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null): Unit

Helper function for opening Confirm window.

- +fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null): Unit @@ -293,24 +110,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> @@ -319,867 +139,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<