From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
- Constructor Text align. Overrides Modal.hide Makes current widget invisible. Return Alert window based on Bootstrap modal. Text align. Determines if text can contain HTML code. Window content text. Determines if animations are used. Window caption text. Determines if Close button is visible. Window size. Makes current widget invisible. Adds given component to the current container. Adds a list of components to the current container. Adds given button to the bottom section of dialog window. Method called after inserting Snabbdom vnode into the DOM. Returns a list of children of the current container. Returns list of element attributes in the form of a List. Returns list of CSS class names for current widget in the form of a List. Removes given component from the current container. Removes all children from the current container. Removes all buttons from the bottom section of dialog window. Removes given button from the bottom section of dialog window. Toggle modal window visibility. Helper function for opening Alert window. Determines if text can contain HTML code. Helper function for opening Alert window.
-
-
- Window content text. Helper class for close icon component. Overrides Widget.getSnAttrs Returns list of element attributes in the form of a List. Return Overrides Widget.getSnClass Returns list of CSS class names for current widget in the form of a List. Return Helper class for close icon component. Helper class for close icon component. Determines if the current widget is draggable. An ID attribute of generated HTML element. Parent of the current component. A role attribute of generated HTML element. A title attribute of generated HTML element. Visibility state of the current component. Returns list of element attributes in the form of a List. Returns list of CSS class names for current widget in the form of a List. Renders current component as a Snabbdom vnode. Adds given value to the set of CSS classes generated in html code of current component. Adds given value to the set of CSS classes generated in html code of parent component. Method called after creating Snabbdom vnode. Method called after destroying Snabbdom vnode. Method called after inserting Snabbdom vnode into the DOM. Method called after updating Snabbdom vnode. Clears D&D data for the current widget. It also makes it not draggable. Returns DOM element bound to the current component. Returns JQuery element bound to the current component. Returns JQuery element bound to the current component as a dynamic type. Returns list of hooks in the form of a Snabbdom Hooks object. Returns list of event handlers in the form of a Snabbdom On object. Makes current widget invisible. Removes given value from the set of CSS classes generated in html code of current component. Removes all event listeners from current widget. Removes given value from the set of CSS classes generated in html code of parent component. Renders current component as a Snabbdom vnode. Sets context menu for the current widget. Sets D&D data for the current widget. It also makes it draggable. Sets the current widget as a D&D drop target. Sets the current widget as a D&D drop target with helper callback accepting String data. Sets an event listener for current widget, keeping the actual type of component. Sets an event listener for current widget. Makes current widget visible. Toggles visibility of current widget. Overrides Widget.render Renders current component as a Snabbdom vnode. Return
-
-
-
-
-
- Constructor Text align. Cancel button text. Determines if Cancel button is visible. Getter Determines if Cancel button is visible.
-
-<init>
-
-Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null)
-Parameters
-
-
-rich
- determines if text can contain HTML codeanimation
- determines if animations are usedcallback
- a function called after closing window with OK button
-
-
-align
-
-var align: Align?
-
-
-hide
-
-open fun hide(): Widget
-
-current widget
-
-Alert
-open class Alert : Modal
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null)
Properties
-
-
-
-
-
-
-
-
-
-
-var align: Align?
-
-
-
-
-
-
-
-var rich: Boolean
-
-
-
-
-
-
-
-
-var text: String?
-Inherited Properties
-
-
-
-
-
-
-
-
-
-
-var animation: Boolean
-
-
-
-
-
-
-
-var caption: String?
-
-
-
-
-
-
-
-var closeButton: Boolean
-
-
-
-
-
-
-
-
-var size: ModalSize?
-Functions
-
-
-
-
-
-
-
-
-
-
-
-open fun hide(): Widget
-Inherited Functions
-
-
-
-
-
-
-
-
-
-
-open fun add(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun addAll(children: List<Component>): SimplePanel
-
-
-
-
-
-
-
-open fun addButton(button: Button): Modal
-
-
-
-
-
-
-
-open fun afterInsert(node: VNode): Unit
-
-
-
-
-
-
-
-open fun getChildren(): List<Component>
-
-
-
-
-
-
-
-open fun getSnAttrs(): List<StringPair>
-
-
-
-
-
-
-
-open fun getSnClass(): List<StringBoolPair>
-
-
-
-
-
-
-
-open fun remove(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun removeAll(): SimplePanel
-
-
-
-
-
-
-
-open fun removeAllButtons(): Modal
-
-
-
-
-
-
-
-open fun removeButton(button: Button): Modal
-
-
-
-
-
-
-
-
-open fun toggle(): Unit
-Companion Object Functions
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.modal/-alert/rich.html b/api/pl.treksoft.kvision.modal/-alert/rich.html
deleted file mode 100644
index 68f4b08a..00000000
--- a/api/pl.treksoft.kvision.modal/-alert/rich.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
-
-
-rich
-
-var rich: Boolean
-
-
-show
-
-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: () -> Unit = null): Unit
-Parameters
-
-
-rich
- determines if text can contain HTML codeanimation
- determines if animations are usedcallback
- a function called after closing window with OK button
-
-text
-
-var text: String?
-
-
-<init>
-
-CloseIcon()
-
-
-getSnAttrs
-
-protected open fun getSnAttrs(): List<StringPair>
-
-list of element attributes
-
-getSnClass
-
-protected open fun getSnClass(): List<StringBoolPair>
-
-list of CSS class names
-
-CloseIcon
-open class CloseIcon : Widget
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-CloseIcon()
-Inherited Properties
-
-
-
-
-
-
-
-
-
-
-var draggable: Boolean?
-
-
-
-
-
-
-
-var eventTarget: Widget?
-
-
-
-
-
-
-var id: String?
-
-
-
-
-
-
-
-var lastLanguage: String?
-
-
-
-
-
-
-open var parent: Container?
-
-
-
-
-
-
-
-var role: String?
-
-
-
-
-
-
-
-var surroundingSpan: Boolean
-
-
-
-
-
-
-var title: String?
-
-
-
-
-
-
-
-
-open var visible: Boolean
-Functions
-
-
-
-
-
-
-
-
-
-
-open fun getSnAttrs(): List<StringPair>
-
-
-
-
-
-
-
-open fun getSnClass(): List<StringBoolPair>
-
-
-
-
-
-
-
-
-open fun render(): VNode
-Inherited Functions
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.modal/-close-icon/render.html b/api/pl.treksoft.kvision.modal/-close-icon/render.html
deleted file mode 100644
index 4e0accce..00000000
--- a/api/pl.treksoft.kvision.modal/-close-icon/render.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-open fun addCssClass(css: String): Widget
-
-
-
-
-
-
-
-open fun addSurroundingCssClass(css: String): Widget
-
-
-
-
-
-
-
-open fun afterCreate(node: VNode): Unit
-
-
-
-
-
-
-
-open fun afterDestroy(): Unit
-
-
-
-
-
-
-
-open fun afterInsert(node: VNode): Unit
-
-
-
-
-
-
-
-open fun afterPostpatch(node: VNode): Unit
-
-
-
-
-
-
-
-open fun clearDragDropData(): Unit
-
-
-
-
-
-
-
-open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
-
-
-
-
-
-
-open fun getElement(): Node?
-
-
-
-
-
-
-
-open fun getElementJQuery(): JQuery?
-
-
-
-
-
-
-
-open fun getElementJQueryD(): dynamic
-
-
-
-
-
-
-
-open fun getSnHooks(): Hooks?
-
-
-
-
-
-
-
-open fun getSnOn(): On?
-
-
-
-
-
-
-
-open fun hide(): Widget
-
-
-
-
-
-
-
-open fun removeCssClass(css: String): Widget
-
-
-
-
-
-
-
-open fun removeEventListeners(): Widget
-
-
-
-
-
-
-
-open fun removeSurroundingCssClass(css: String): Widget
-
-
-
-
-
-
-
-open fun render(elementName: String): VNode
-open fun render(elementName: String, children: Array<dynamic>): VNode
-
-
-
-
-
-
-
-open fun setContextMenu(contextMenu: ContextMenu): Widget
-
-
-
-
-
-
-
-open fun setDragDropData(format: String, data: String): Unit
-
-
-
-
-
-
-
-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
-open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
-
-
-
-
-
-
-
-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
-
-
-
-
-
-
-
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-
-
-
-
-
-
-
-open fun show(): Widget
-
-
-
-
-
-
-
-open fun toggleVisible(): Widget
-
-
-
-
-
-
-
-
-fun translate(text: String?): String?
-
-render
-
-protected open fun render(): VNode
-
-Snabbdom vnode
-
-<init>
-
-Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null)
-Parameters
-
-
-rich
- determines if text can contain HTML codeanimation
- determines if animations are usedcancelVisible
- determines if Cancel button is visiblecancelTitle
- cancel button textnoCallback
- a function called after closing window with No buttonyesCallback
- a function called after closing window with Yes button
-
-
-align
-
-var align: Align?
-
-
-cancelTitle
-
-var cancelTitle: String
-
-
-cancelVisible
-
-var cancelVisible: Boolean
-
-
Setter
-
Determines if Cancel button is visible.
- - - diff --git a/api/pl.treksoft.kvision.modal/-confirm/index.html b/api/pl.treksoft.kvision.modal/-confirm/index.html deleted file mode 100644 index 2d4ecbbb..00000000 --- a/api/pl.treksoft.kvision.modal/-confirm/index.html +++ /dev/null @@ -1,271 +0,0 @@ - - - -open class Confirm : Modal
-Confirm window based on Bootstrap modal.
-- - | -
-Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: () -> Unit = null, yesCallback: () -> Unit = null) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-var cancelTitle: String
-Cancel button text. - |
-
- - | -
-var cancelVisible: Boolean
-Determines if Cancel button is visible. - |
-
- - | -
-var noTitle: String
-No button text. - |
-
- - | -
-var rich: Boolean
-Determines if text can contain HTML code. - |
-
- - | -
-var text: String?
-Window content text. - |
-
- - | -
-var yesTitle: String
-Yes button text. - |
-
- - | -
-var animation: Boolean
-Determines if animations are used. - |
-
- - | -
-var caption: String?
-Window caption text. - |
-
- - | -
-var closeButton: Boolean
-Determines if Close button is visible. - |
-
- - | -
-var size: ModalSize?
-Window size. - |
-
- - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
- - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
- - | -
-open fun addButton(button: Button): Modal
-Adds given button to the bottom section of dialog window. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-open fun removeAllButtons(): Modal
-Removes all buttons from the bottom section of dialog window. - |
-
- - | -
-open fun removeButton(button: Button): Modal
-Removes given button from the bottom section of dialog window. - |
-
- - | -
-open fun toggle(): Unit
-Toggle modal window visibility. - |
-
- - | -
-fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, 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. - |
-
var noTitle: String
-No button text.
- - diff --git a/api/pl.treksoft.kvision.modal/-confirm/rich.html b/api/pl.treksoft.kvision.modal/-confirm/rich.html deleted file mode 100644 index bec66a34..00000000 --- a/api/pl.treksoft.kvision.modal/-confirm/rich.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var rich: Boolean
-Determines if text can contain HTML code.
- - diff --git a/api/pl.treksoft.kvision.modal/-confirm/show.html b/api/pl.treksoft.kvision.modal/-confirm/show.html deleted file mode 100644 index be7a4c93..00000000 --- a/api/pl.treksoft.kvision.modal/-confirm/show.html +++ /dev/null @@ -1,34 +0,0 @@ - - - -fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, 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.
-
-rich
- determines if text can contain HTML code
-animation
- determines if animations are used
-cancelVisible
- determines if Cancel button is visible
-noCallback
- a function called after closing window with No button
-yesCallback
- a function called after closing window with Yes button
var text: String?
-Window content text.
- - diff --git a/api/pl.treksoft.kvision.modal/-confirm/yes-title.html b/api/pl.treksoft.kvision.modal/-confirm/yes-title.html deleted file mode 100644 index 05a653f7..00000000 --- a/api/pl.treksoft.kvision.modal/-confirm/yes-title.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var yesTitle: String
-Yes button text.
- - diff --git a/api/pl.treksoft.kvision.modal/-dialog/-init-.html b/api/pl.treksoft.kvision.modal/-dialog/-init-.html deleted file mode 100644 index e7ae6cae..00000000 --- a/api/pl.treksoft.kvision.modal/-dialog/-init-.html +++ /dev/null @@ -1,31 +0,0 @@ - - - -Dialog(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: Dialog<R>.() -> Unit = null)
-
-closeButton
- determines if Close button is visible
-animation
- determines if animations are used
-escape
- determines if dialog can be closed with Esc key
-classes
- a set of CSS class names
-init
- an initializer extension function
Constructor
-
suspend fun getResult(): R?
-A suspending function returning result value.
- - diff --git a/api/pl.treksoft.kvision.modal/-dialog/hide.html b/api/pl.treksoft.kvision.modal/-dialog/hide.html deleted file mode 100644 index 1fe643eb..00000000 --- a/api/pl.treksoft.kvision.modal/-dialog/hide.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun hide(): Widget
-Overrides Modal.hide
-Makes current widget invisible.
-Return
-current widget
open class Dialog<R> : Modal
-Modal window with a result.
-- - | -
-Dialog(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: Dialog<R>.() -> Unit = null) |
-
- - | -
-var animation: Boolean
-Determines if animations are used. - |
-
- - | -
-var caption: String?
-Window caption text. - |
-
- - | -
-var closeButton: Boolean
-Determines if Close button is visible. - |
-
- - | -
-var size: ModalSize?
-Window size. - |
-
- - | -
-suspend fun getResult(): R?
-A suspending function returning result value. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun setResult(result: R?): Unit
-A function to be called with a result value. - |
-
- - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
- - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
- - | -
-open fun addButton(button: Button): Modal
-Adds given button to the bottom section of dialog window. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-open fun removeAllButtons(): Modal
-Removes all buttons from the bottom section of dialog window. - |
-
- - | -
-open fun removeButton(button: Button): Modal
-Removes given button from the bottom section of dialog window. - |
-
- - | -
-open fun toggle(): Unit
-Toggle modal window visibility. - |
-
open fun setResult(result: R?): Unit
-A function to be called with a result value.
- - diff --git a/api/pl.treksoft.kvision.modal/-modal-size/-l-a-r-g-e.html b/api/pl.treksoft.kvision.modal/-modal-size/-l-a-r-g-e.html deleted file mode 100644 index 9884a5ab..00000000 --- a/api/pl.treksoft.kvision.modal/-modal-size/-l-a-r-g-e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -LARGE
-- - | -
-val className: String |
-
SMALL
-- - | -
-val className: String |
-
val className: String
-
-
diff --git a/api/pl.treksoft.kvision.modal/-modal-size/index.html b/api/pl.treksoft.kvision.modal/-modal-size/index.html
deleted file mode 100644
index 4b88ad07..00000000
--- a/api/pl.treksoft.kvision.modal/-modal-size/index.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-enum class ModalSize
-Modal window sizes.
-- - | -- | -
- - | -- | -
- - | -
-val className: String |
-
Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: Modal.() -> Unit = null)
-
-closeButton
- determines if Close button is visible
-animation
- determines if animations are used
-escape
- determines if dialog can be closed with Esc key
-classes
- a set of CSS class names
-init
- an initializer extension function
Constructor
-
open fun addAll(children: List<Component>): SimplePanel
-Overrides SimplePanel.addAll
-Adds a list of components to the current container.
-
-children
- list of child components
Return
-current container
open fun addButton(button: Button): Modal
-Adds given button to the bottom section of dialog window.
-
-button
- a Button component
Return
-this modal
open fun add(child: Component): SimplePanel
-Overrides SimplePanel.add
-Adds given component to the current container.
-Return
-current container
protected open fun afterInsert(node: VNode): Unit
-Overrides Widget.afterInsert
-Method called after inserting Snabbdom vnode into the DOM.
- - diff --git a/api/pl.treksoft.kvision.modal/-modal/animation.html b/api/pl.treksoft.kvision.modal/-modal/animation.html deleted file mode 100644 index d61b11b7..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/animation.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var animation: Boolean
-Determines if animations are used.
-Getter
-
Determines if animations are used.
- -Setter
-
Determines if animations are used.
- - - diff --git a/api/pl.treksoft.kvision.modal/-modal/caption.html b/api/pl.treksoft.kvision.modal/-modal/caption.html deleted file mode 100644 index cca2f4cc..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/caption.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var caption: String?
-Window caption text.
- - diff --git a/api/pl.treksoft.kvision.modal/-modal/close-button.html b/api/pl.treksoft.kvision.modal/-modal/close-button.html deleted file mode 100644 index 4810bdbb..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/close-button.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var closeButton: Boolean
-Determines if Close button is visible.
- - diff --git a/api/pl.treksoft.kvision.modal/-modal/get-children.html b/api/pl.treksoft.kvision.modal/-modal/get-children.html deleted file mode 100644 index 52431771..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/get-children.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun getChildren(): List<Component>
-Overrides SimplePanel.getChildren
-Returns a list of children of the current container.
-Return
-list of children
protected open fun getSnAttrs(): List<StringPair>
-Overrides Widget.getSnAttrs
-Returns list of element attributes in the form of a List.
-Return
-list of element attributes
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
open fun hide(): Widget
-Overrides Widget.hide
-Makes current widget invisible.
-Return
-current widget
open class Modal : SimplePanel
-Configurable modal window based on Bootstrap modal.
-- - | -
-Modal(caption: String? = null, closeButton: Boolean = true, size: ModalSize? = null, animation: Boolean = true, escape: Boolean = true, classes: Set<String> = setOf(), init: Modal.() -> Unit = null) |
-
- - | -
-var animation: Boolean
-Determines if animations are used. - |
-
- - | -
-var caption: String?
-Window caption text. - |
-
- - | -
-var closeButton: Boolean
-Determines if Close button is visible. - |
-
- - | -
-var size: ModalSize?
-Window size. - |
-
- - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
- - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
- - | -
-open fun addButton(button: Button): Modal
-Adds given button to the bottom section of dialog window. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-open fun removeAllButtons(): Modal
-Removes all buttons from the bottom section of dialog window. - |
-
- - | -
-open fun removeButton(button: Button): Modal
-Removes given button from the bottom section of dialog window. - |
-
- - | -
-open fun toggle(): Unit
-Toggle modal window visibility. - |
-
- - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
- - | -
-open fun childrenVNodes(): Array<VNode>
-Returns the array of the children Snabbdom vnodes. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open class Alert : Modal
-Alert window based on Bootstrap modal. - |
-
- - | -
-open class Confirm : Modal
-Confirm window based on Bootstrap modal. - |
-
- - | -
-open class Dialog<R> : Modal
-Modal window with a result. - |
-
open fun removeAllButtons(): Modal
-Removes all buttons from the bottom section of dialog window.
-Return
-this modal
open fun removeAll(): SimplePanel
-Overrides SimplePanel.removeAll
-Removes all children from the current container.
-Return
-current container
open fun removeButton(button: Button): Modal
-Removes given button from the bottom section of dialog window.
-
-button
- a Button component
Return
-this modal
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
var size: ModalSize?
-Window size.
- - diff --git a/api/pl.treksoft.kvision.modal/-modal/toggle.html b/api/pl.treksoft.kvision.modal/-modal/toggle.html deleted file mode 100644 index a4c26897..00000000 --- a/api/pl.treksoft.kvision.modal/-modal/toggle.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun toggle(): Unit
-Toggle modal window visibility.
- - diff --git a/api/pl.treksoft.kvision.modal/index.html b/api/pl.treksoft.kvision.modal/index.html deleted file mode 100644 index 1c66e42d..00000000 --- a/api/pl.treksoft.kvision.modal/index.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -Classes supporting general purpose Bootstrap modals with convenient helpers for alert and confirm popup dialogs.
-- - | -
-open class Alert : Modal
-Alert window based on Bootstrap modal. - |
-
- - | -
-open class CloseIcon : Widget
-Helper class for close icon component. - |
-
- - | -
-open class Confirm : Modal
-Confirm window based on Bootstrap modal. - |
-
- - | -
-open class Dialog<R> : Modal
-Modal window with a result. - |
-
- - | -
-open class Modal : SimplePanel
-Configurable modal window based on Bootstrap modal. - |
-
- - | -
-enum class ModalSize
-Modal window sizes. - |
-