From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
- Constructor DSL builder extension function. It takes the same parameters as the constructor of the built component. Context menu component. List of elements. Determines if elements can contain HTML code. List type. Positions and shows a context menu based on a mouse event. Returns the array of the children Snabbdom vnodes. Returns list of CSS class names for current widget in the form of a List. Renders current component as a Snabbdom vnode. DSL builder extension function. Positions and shows a context menu based on a mouse event. Return Useful options for use in DropDown's elements parameter.
-
-
-
-
-
-
-
- Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
- Return Overrides SimplePanel.add Adds given component to the current container. Return Overrides Widget.afterInsert Method called after inserting Snabbdom vnode into the DOM. Determines if the dropdown button takes all the space horizontally. Determines if the dropdown is disabled. DSL builder extension function. It takes the same parameters as the constructor of the built component. Determines if the dropdown is showing upwards. Getter Determines if the dropdown is showing upwards.
-
-<init>
-
-ContextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null)
-Parameters
-classes
- a set of CSS class names
-
-
-contextMenu
-
-fun Widget.contextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null): ContextMenu
-
-
-ContextMenu
-open class ContextMenu : ListTag
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-ContextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null)
Inherited Properties
-
-
-
-
-
-
-
-
-
-
-var elements: List<String>?
-
-
-
-
-
-
-
-var rich: Boolean
-
-
-
-
-
-
-
-
-var type: ListType
-Functions
-
-
-
-
-
-
-
-
-
-
-
-open fun positionMenu(mouseEvent: MouseEvent): ContextMenu
-Inherited Functions
-
-
-
-
-
-
-
-
-
-
-open fun childrenVNodes(): Array<VNode>
-
-
-
-
-
-
-
-open fun getSnClass(): List<StringBoolPair>
-
-
-
-
-
-
-
-
-open fun render(): VNode
-Companion Object Functions
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html b/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html
deleted file mode 100644
index ded70c2c..00000000
--- a/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun Widget.contextMenu(classes: Set<String> = setOf(), init: ContextMenu.() -> Unit = null): ContextMenu
-
-
-positionMenu
-
-open fun positionMenu(mouseEvent: MouseEvent): ContextMenu
-Parameters
-
-
-current context menu
-
-DISABLED
-
-DISABLED
-Inherited Properties
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-d-d/-h-e-a-d-e-r.html b/api/pl.treksoft.kvision.dropdown/-d-d/-h-e-a-d-e-r.html
deleted file mode 100644
index c0521931..00000000
--- a/api/pl.treksoft.kvision.dropdown/-d-d/-h-e-a-d-e-r.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val option: String
-
-HEADER
-
-HEADER
-Inherited Properties
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-d-d/-s-e-p-a-r-a-t-o-r.html b/api/pl.treksoft.kvision.dropdown/-d-d/-s-e-p-a-r-a-t-o-r.html
deleted file mode 100644
index d518de3c..00000000
--- a/api/pl.treksoft.kvision.dropdown/-d-d/-s-e-p-a-r-a-t-o-r.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val option: String
-
-SEPARATOR
-
-SEPARATOR
-Inherited Properties
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-d-d/index.html b/api/pl.treksoft.kvision.dropdown/-d-d/index.html
deleted file mode 100644
index 544e8952..00000000
--- a/api/pl.treksoft.kvision.dropdown/-d-d/index.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val option: String
-
-DD
-enum class DD
-Enum Values
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Properties
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-d-d/option.html b/api/pl.treksoft.kvision.dropdown/-d-d/option.html
deleted file mode 100644
index 518c5aed..00000000
--- a/api/pl.treksoft.kvision.dropdown/-d-d/option.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val option: String
-
-option
-
-val option: String
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html b/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html
deleted file mode 100644
index 67e3cdef..00000000
--- a/api/pl.treksoft.kvision.dropdown/-drop-down/-init-.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-<init>
-
-DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, : Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
-Parameters
-text
- the label of the dropdown buttonelements
- an optional list of link elements (special options from DD enum class can be used as values)icon
- the icon of the dropdown buttonstyle
- the style of the dropdown buttondisabled
- determines if the component is disabled on startforNavbar
- determines if the component will be used in a navbarwithCaret
- determines if the dropdown button renders caretclasses
- a set of CSS class names
-
-
-addAll
-
-open fun addAll(children: List<Component>): SimplePanel
-Parameters
-children
- list of child components
-current container
-
-add
-
-open fun add(child: Component): SimplePanel
-Parameters
-
-
-current container
-
-afterInsert
-
-protected open fun afterInsert(node: VNode): Unit
-
-
-block
-
-var block: Boolean
-
-
-buttonId
-
-fun buttonId(): String?
-
-
diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html b/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html
deleted file mode 100644
index 9c25d116..00000000
--- a/api/pl.treksoft.kvision.dropdown/-drop-down/disabled.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-disabled
-
-var disabled: Boolean
-
-
-dropDown
-
-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, : Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
-
-
-dropup
-
-var dropup: Boolean
-
-
Setter
-
Determines if the dropdown is showing upwards.
- - - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html b/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html deleted file mode 100644 index 33497640..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/for-navbar.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -val forNavbar: Boolean
-determines if the component will be used in a navbar
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/get-children.html b/api/pl.treksoft.kvision.dropdown/-drop-down/get-children.html deleted file mode 100644 index 749b4086..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/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 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
var icon: String?
-The icon of the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/image.html b/api/pl.treksoft.kvision.dropdown/-drop-down/image.html deleted file mode 100644 index 56755e67..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/image.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var image: ResString?
-The image on the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/index.html b/api/pl.treksoft.kvision.dropdown/-drop-down/index.html deleted file mode 100644 index a15ebb28..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/index.html +++ /dev/null @@ -1,251 +0,0 @@ - - - -open class DropDown : SimplePanel
-Bootstrap dropdown component.
-- - | -
-DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, : Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf()) |
-
- - | -
-var block: Boolean
-Determines if the dropdown button takes all the space horizontally. - |
-
- - | -
-var disabled: Boolean
-Determines if the dropdown is disabled. - |
-
- - | -
-var dropup: Boolean
-Determines if the dropdown is showing upwards. - |
-
- - | -
-val forNavbar: Boolean
-determines if the component will be used in a navbar - |
-
- - | -
-var icon: String?
-The icon of the dropdown button. - |
-
- - | -
-var image: ResString?
-The image on the dropdown button. - |
-
- - | -
-var size: ButtonSize?
-The size of the dropdown button. - |
-
- - | -
-var style: ButtonStyle
-The style of the dropdown button. - |
-
- - | -
-var text: String
-Label of the dropdown button. - |
-
- - | -
-open var width: CssSize?
-Width of the dropdown button. - |
-
- - | -
-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 afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-fun buttonId(): String? |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-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 render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun toggle(): Unit
-Toggles dropdown 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. - |
-
- - | -
-fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, : Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: DropDown.() -> Unit = null): DropDown
-DSL builder extension function. - |
-
open fun removeAll(): SimplePanel
-Overrides SimplePanel.removeAll
-Removes all children from the current container.
-Return
-current container
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var size: ButtonSize?
-The size of the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/style.html b/api/pl.treksoft.kvision.dropdown/-drop-down/style.html deleted file mode 100644 index 15e06226..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/style.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var style: ButtonStyle
-The style of the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/text.html b/api/pl.treksoft.kvision.dropdown/-drop-down/text.html deleted file mode 100644 index 48000a63..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/text.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var text: String
-Label of the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html b/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html deleted file mode 100644 index 3c4ee0be..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/toggle.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun toggle(): Unit
-Toggles dropdown visibility.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-drop-down/width.html b/api/pl.treksoft.kvision.dropdown/-drop-down/width.html deleted file mode 100644 index e49c85c0..00000000 --- a/api/pl.treksoft.kvision.dropdown/-drop-down/width.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -open var width: CssSize?
-Overrides StyledComponent.width
-Width of the dropdown button.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-header/-init-.html b/api/pl.treksoft.kvision.dropdown/-header/-init-.html deleted file mode 100644 index 3d47ac09..00000000 --- a/api/pl.treksoft.kvision.dropdown/-header/-init-.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Header(content: String? = null, classes: Set<String> = setOf())
-
-content
- header content text
-classes
- a set of CSS class names
Constructor
-
fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header
fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/api/pl.treksoft.kvision.dropdown/-header/index.html b/api/pl.treksoft.kvision.dropdown/-header/index.html deleted file mode 100644 index 4146a17c..00000000 --- a/api/pl.treksoft.kvision.dropdown/-header/index.html +++ /dev/null @@ -1,123 +0,0 @@ - - - -open class Header : Tag
-Menu header component.
-- - | -
-Header(content: String? = null, classes: Set<String> = setOf()) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-open var content: String?
-Text content of the tag. - |
-
- - | -
-open var rich: Boolean
-Determines if content can contain HTML code. - |
-
- - | -
-open var template: (Any?) -> String
-Handlebars template. - |
-
- - | -
-open var templates: Map<String, (Any?) -> String>
-Handlebars templates for i18n. - |
-
- - | -
-var type: TAG
-Tag type. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-fun ListTag.header(content: String? = null, classes: Set<String> = setOf()): Header - fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header
-DSL builder extension function. - |
-
Separator(classes: Set<String> = setOf())
-
-classes
- a set of CSS class names
Constructor
-
open class Separator : Tag
-Menu separator component.
-- - | -
-Separator(classes: Set<String> = setOf()) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-open var content: String?
-Text content of the tag. - |
-
- - | -
-open var rich: Boolean
-Determines if content can contain HTML code. - |
-
- - | -
-open var template: (Any?) -> String
-Handlebars template. - |
-
- - | -
-open var templates: Map<String, (Any?) -> String>
-Handlebars templates for i18n. - |
-
- - | -
-var type: TAG
-Tag type. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-fun ListTag.separator(classes: Set<String> = setOf()): Separator - fun DropDown.separator(classes: Set<String> = setOf()): Separator
-DSL builder extension function. - |
-
fun ListTag.separator(classes: Set<String> = setOf()): Separator
fun DropDown.separator(classes: Set<String> = setOf()): Separator
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/api/pl.treksoft.kvision.dropdown/index.html b/api/pl.treksoft.kvision.dropdown/index.html deleted file mode 100644 index 7a7a7294..00000000 --- a/api/pl.treksoft.kvision.dropdown/index.html +++ /dev/null @@ -1,63 +0,0 @@ - - - -Bootstrap dropdown component with support for navigation bars and context menus.
-- - | -
-open class ContextMenu : ListTag
-Context menu component. - |
-
- - | -
-enum class DD
-Useful options for use in DropDown's elements parameter. - |
-
- - | -
-open class DropDown : SimplePanel
-Bootstrap dropdown component. - |
-
- - | -
-open class Header : Tag
-Menu header component. - |
-
- - | -
-open class Separator : Tag
-Menu separator component. - |
-