From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- api/pl.treksoft.kvision.modal/-confirm/index.html | 244 ++++++++++++++++++++++ 1 file changed, 244 insertions(+) create mode 100644 api/pl.treksoft.kvision.modal/-confirm/index.html (limited to 'api/pl.treksoft.kvision.modal/-confirm/index.html') diff --git a/api/pl.treksoft.kvision.modal/-confirm/index.html b/api/pl.treksoft.kvision.modal/-confirm/index.html new file mode 100644 index 00000000..0bdebe0c --- /dev/null +++ b/api/pl.treksoft.kvision.modal/-confirm/index.html @@ -0,0 +1,244 @@ + + + +Confirm - kvision + + + +kvision / pl.treksoft.kvision.modal / Confirm
+
+

Confirm

+open class Confirm : Modal +

Confirm window based on Bootstrap modal.

+

Constructors

+ + + + + + + +
+

<init>

+
+Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
+

Properties

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

align

+
+var align: Align? +

Text align.

+
+

cancelVisible

+
+var cancelVisible: Boolean +

Determines if Cancel button is visible.

+
+

rich

+
+var rich: Boolean +

Determines if text can contain HTML code.

+
+

text

+
+var text: String? +

Window content text.

+
+

Inherited Properties

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

animation

+
+var animation: Boolean +

Determines if animations are used.

+
+

caption

+
+var caption: String? +

Window caption text.

+
+

closeButton

+
+var closeButton: Boolean +

Determines if Close button is visible.

+
+

size

+
+var size: ModalSize? +

Window size.

+
+

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.

+
+

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.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

getSnAttrs

+
+open fun getSnAttrs(): List<StringPair> +

Returns list of element attributes in the form of a List.

+
+

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.

+
+

Companion Object Functions

+ + + + + + + +
+

show

+
+fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, noCallback: () -> Unit = null, yesCallback: () -> Unit = null): Unit +

Helper function for opening Confirm window.

+
+ + -- cgit