From f3c9d405382dd81d426c7eab1f6390ec8e6dad00 Mon Sep 17 00:00:00 2001
From: Robert Jaros CSS align attributes. Button sizes. Button styles.
- Constructor Determines if the button takes all the space horizontally. Getter Determines if the button takes all the space horizontally.
-
-CENTER
-
-CENTER
-Inherited Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html b/docs/api/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html
deleted file mode 100644
index cc038aab..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-JUSTIFY
-
-JUSTIFY
-Inherited Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/-l-e-f-t.html b/docs/api/pl.treksoft.kvision.html/-align/-l-e-f-t.html
deleted file mode 100644
index 34996ada..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/-l-e-f-t.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-LEFT
-
-LEFT
-Inherited Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html b/docs/api/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html
deleted file mode 100644
index 684bcfe1..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-NOWRAP
-
-NOWRAP
-Inherited Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html b/docs/api/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html
deleted file mode 100644
index d1fb9939..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-RIGHT
-
-RIGHT
-Inherited Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/class-name.html b/docs/api/pl.treksoft.kvision.html/-align/class-name.html
deleted file mode 100644
index ca68fe46..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/class-name.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-className
-
-val className: String
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-align/index.html b/docs/api/pl.treksoft.kvision.html/-align/index.html
deleted file mode 100644
index 8f3154e3..00000000
--- a/docs/api/pl.treksoft.kvision.html/-align/index.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-Align
-enum class Align
-Enum Values
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Properties
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html b/docs/api/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html
deleted file mode 100644
index 579441a2..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-val className: String
-
-LARGE
-
-LARGE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html
deleted file mode 100644
index c2a12398..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-SMALL
-
-SMALL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html
deleted file mode 100644
index 1ae9d409..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-XSMALL
-
-XSMALL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-size/index.html b/docs/api/pl.treksoft.kvision.html/-button-size/index.html
deleted file mode 100644
index 95343574..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-size/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-ButtonSize
-enum class ButtonSize
-Enum Values
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html b/docs/api/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html
deleted file mode 100644
index fa0a9a46..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-DANGER
-
-DANGER
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html b/docs/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html
deleted file mode 100644
index a4d8f8a3..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-DEFAULT
-
-DEFAULT
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html b/docs/api/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html
deleted file mode 100644
index 510436c4..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-INFO
-
-INFO
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html b/docs/api/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html
deleted file mode 100644
index 12592330..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-LINK
-
-LINK
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html b/docs/api/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html
deleted file mode 100644
index a58cd542..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-PRIMARY
-
-PRIMARY
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html b/docs/api/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html
deleted file mode 100644
index b96f93a2..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-SUCCESS
-
-SUCCESS
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html b/docs/api/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html
deleted file mode 100644
index 6dc6c972..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-WARNING
-
-WARNING
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button-style/index.html b/docs/api/pl.treksoft.kvision.html/-button-style/index.html
deleted file mode 100644
index 60b81f01..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button-style/index.html
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-ButtonStyle
-enum class ButtonStyle
-Enum Values
-
-
-
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-button/-init-.html b/docs/api/pl.treksoft.kvision.html/-button/-init-.html
deleted file mode 100644
index 94e82aba..00000000
--- a/docs/api/pl.treksoft.kvision.html/-button/-init-.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<init>
-
-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
-Parameters
-
-
-
-
-classes
- a set of CSS class names
-
-
-block
-
-var block: Boolean
-
-
Setter
-
Determines if the button takes all the space horizontally.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/button.html b/docs/api/pl.treksoft.kvision.html/-button/button.html deleted file mode 100644 index 95028d1d..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/button.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-button/disabled.html b/docs/api/pl.treksoft.kvision.html/-button/disabled.html deleted file mode 100644 index 6f924849..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/disabled.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var disabled: Boolean
-Determines if button is disabled.
-Getter
-
Determines if button is disabled.
- -Setter
-
Determines if button is disabled.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html deleted file mode 100644 index 0c2ad719..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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
var icon: String?
-Button icon.
-Getter
-
Button icon.
- -Setter
-
Button icon.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/image.html b/docs/api/pl.treksoft.kvision.html/-button/image.html deleted file mode 100644 index cdd1a4f2..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/image.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var image: ResString?
-Button image.
-Getter
-
Button image.
- -Setter
-
Button image.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/index.html b/docs/api/pl.treksoft.kvision.html/-button/index.html deleted file mode 100644 index b460f031..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/index.html +++ /dev/null @@ -1,424 +0,0 @@ - - - -open class Button : Widget
-Button component.
-- - | -
-Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf()) |
-
- - | -
-var block: Boolean
-Determines if the button takes all the space horizontally. - |
-
- - | -
-var disabled: Boolean
-Determines if button is disabled. - |
-
- - | -
-var icon: String?
-Button icon. - |
-
- - | -
-var image: ResString?
-Button image. - |
-
- - | -
-var size: ButtonSize?
-Button size. - |
-
- - | -
-var style: ButtonStyle
-Button style. - |
-
- - | -
-var text: String
-Button label. - |
-
- - | -
-var draggable: Boolean?
-Determines if the current widget is draggable. - |
-
- - | -
-var id: String?
-An ID attribute of generated HTML element. - |
-
- - | -
-open var parent: Component?
-Parent of the current component. - |
-
- - | -
-var role: String?
-A role attribute of generated HTML element. - |
-
- - | -
-var title: String?
-A title attribute of generated HTML element. - |
-
- - | -
-open var visible: Boolean
-Visibility state of the current component. - |
-
- - | -
-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 onClick(handler: Button.(MouseEvent) -> Unit): Button
-A convenient helper for easy setting onClick event handler. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun addCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun addSurroundingCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun afterCreate(node: VNode): Unit
-Method called after creating Snabbdom vnode. - |
-
- - | -
-open fun afterDestroy(): Unit
-Method called after destroying Snabbdom vnode. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun afterPostpatch(node: VNode): Unit
-Method called after updating Snabbdom vnode. - |
-
- - | -
-open fun clearDragDropData(): Unit
-Clears D&D data for the current widget. It also makes it not draggable. - |
-
- - | -
-open fun getElement(): Node?
-Returns DOM element bound to the current component. - |
-
- - | -
-open fun getElementJQuery(): JQuery?
-Returns JQuery element bound to the current component. - |
-
- - | -
-open fun getElementJQueryD(): dynamic
-Returns JQuery element bound to the current component as a dynamic type. - |
-
- - | -
-open fun getSnHooks(): Hooks?
-Returns list of hooks in the form of a Snabbdom Hooks object. - |
-
- - | -
-open fun getSnOn(): On?
-Returns list of event handlers in the form of a Snabbdom On object. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun removeCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun removeSurroundingCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun render(elementName: String): VNode - open fun render(elementName: String, children: Array<dynamic>): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setDragDropData(format: String, data: String): Unit
-Sets D&D data for the current widget. It also makes it draggable. - |
-
- - | -
-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit - open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
-Sets the current widget as a D&D drop target. - |
-
- - | -
-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
-Sets the current widget as a D&D drop target with helper callback accepting String data. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-open fun show(): Widget
-Makes current widget visible. - |
-
- - | -
-open fun toggleVisible(): Widget
-Toggles visibility of current widget. - |
-
- - | -
-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button
-DSL builder extension function. - |
-
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
-A convenient helper for easy setting onClick event handler.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-button/render.html b/docs/api/pl.treksoft.kvision.html/-button/render.html deleted file mode 100644 index 1e23270e..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun render(): VNode
-Overrides Widget.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var size: ButtonSize?
-Button size.
-Getter
-
Button size.
- -Setter
-
Button size.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/style.html b/docs/api/pl.treksoft.kvision.html/-button/style.html deleted file mode 100644 index 53caf7b6..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/style.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var style: ButtonStyle
-Button style.
-Getter
-
Button style.
- -Setter
-
Button style.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-button/text.html b/docs/api/pl.treksoft.kvision.html/-button/text.html deleted file mode 100644 index 6c2324b2..00000000 --- a/docs/api/pl.treksoft.kvision.html/-button/text.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var text: String
-Button label.
-Getter
-
Button label.
- -Setter
-
Button label.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-div/-init-.html b/docs/api/pl.treksoft.kvision.html/-div/-init-.html deleted file mode 100644 index 5d373c15..00000000 --- a/docs/api/pl.treksoft.kvision.html/-div/-init-.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null)
-
-rich
- determines if text can contain HTML code
Constructor
-
fun Container.div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-div/index.html b/docs/api/pl.treksoft.kvision.html/-div/index.html deleted file mode 100644 index 54750568..00000000 --- a/docs/api/pl.treksoft.kvision.html/-div/index.html +++ /dev/null @@ -1,104 +0,0 @@ - - - -open class Div : Tag
-Simple component rendered as div.
-- - | -
-Div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-var rich: Boolean
-Determines if text can contain HTML code. - |
-
- - | -
-var text: String?
-Text content of the tag. - |
-
- - | -
-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 Container.div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div
-DSL builder extension function. - |
-
CIRCLE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html b/docs/api/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html
deleted file mode 100644
index 726addaf..00000000
--- a/docs/api/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-ROUNDED
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html b/docs/api/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html
deleted file mode 100644
index 43763262..00000000
--- a/docs/api/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-THUMBNAIL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-image-shape/index.html b/docs/api/pl.treksoft.kvision.html/-image-shape/index.html
deleted file mode 100644
index a610c181..00000000
--- a/docs/api/pl.treksoft.kvision.html/-image-shape/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-enum class ImageShape
-Image shapes.
-- - | -- | -
- - | -- | -
- - | -- | -
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())
-
-responsive
- determines if the image is rendered as responsive
-centered
- determines if the image is rendered centered
-classes
- a set of CSS class names
Constructor
-
var alt: String?
-The alternative text of the image.
-Getter
-
The alternative text of the image.
- -Setter
-
The alternative text of the image.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-image/centered.html b/docs/api/pl.treksoft.kvision.html/-image/centered.html deleted file mode 100644 index 1c0a1eeb..00000000 --- a/docs/api/pl.treksoft.kvision.html/-image/centered.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var centered: Boolean
-Determines if the image is rendered as centered.
-Getter
-
Determines if the image is rendered as centered.
- -Setter
-
Determines if the image is rendered as centered.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html b/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html deleted file mode 100644 index 7867afee..00000000 --- a/docs/api/pl.treksoft.kvision.html/-image/get-sn-attrs.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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
fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: Image.() -> Unit = null): Image
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-image/index.html b/docs/api/pl.treksoft.kvision.html/-image/index.html deleted file mode 100644 index bb3d9315..00000000 --- a/docs/api/pl.treksoft.kvision.html/-image/index.html +++ /dev/null @@ -1,397 +0,0 @@ - - - -open class Image : Widget
-Image component.
-- - | -
-Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf()) |
-
- - | -
-var alt: String?
-The alternative text of the image. - |
-
- - | -
-var centered: Boolean
-Determines if the image is rendered as centered. - |
-
- - | -
-var responsive: Boolean
-Determines if the image is rendered as responsive. - |
-
- - | -
-var shape: ImageShape?
-The shape of the image. - |
-
- - | -
-var src: ResString
-URL of the image. - |
-
- - | -
-var draggable: Boolean?
-Determines if the current widget is draggable. - |
-
- - | -
-var id: String?
-An ID attribute of generated HTML element. - |
-
- - | -
-open var parent: Component?
-Parent of the current component. - |
-
- - | -
-var role: String?
-A role attribute of generated HTML element. - |
-
- - | -
-var title: String?
-A title attribute of generated HTML element. - |
-
- - | -
-open var visible: Boolean
-Visibility state of the current component. - |
-
- - | -
-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 render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun addCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun addSurroundingCssClass(css: String): Widget
-Adds given value to the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun afterCreate(node: VNode): Unit
-Method called after creating Snabbdom vnode. - |
-
- - | -
-open fun afterDestroy(): Unit
-Method called after destroying Snabbdom vnode. - |
-
- - | -
-open fun afterInsert(node: VNode): Unit
-Method called after inserting Snabbdom vnode into the DOM. - |
-
- - | -
-open fun afterPostpatch(node: VNode): Unit
-Method called after updating Snabbdom vnode. - |
-
- - | -
-open fun clearDragDropData(): Unit
-Clears D&D data for the current widget. It also makes it not draggable. - |
-
- - | -
-open fun getElement(): Node?
-Returns DOM element bound to the current component. - |
-
- - | -
-open fun getElementJQuery(): JQuery?
-Returns JQuery element bound to the current component. - |
-
- - | -
-open fun getElementJQueryD(): dynamic
-Returns JQuery element bound to the current component as a dynamic type. - |
-
- - | -
-open fun getSnHooks(): Hooks?
-Returns list of hooks in the form of a Snabbdom Hooks object. - |
-
- - | -
-open fun getSnOn(): On?
-Returns list of event handlers in the form of a Snabbdom On object. - |
-
- - | -
-open fun hide(): Widget
-Makes current widget invisible. - |
-
- - | -
-open fun removeCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of current component. - |
-
- - | -
-open fun removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun removeSurroundingCssClass(css: String): Widget
-Removes given value from the set of CSS classes generated in html code of parent component. - |
-
- - | -
-open fun render(elementName: String): VNode - open fun render(elementName: String, children: Array<dynamic>): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setDragDropData(format: String, data: String): Unit
-Sets D&D data for the current widget. It also makes it draggable. - |
-
- - | -
-open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit - open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
-Sets the current widget as a D&D drop target. - |
-
- - | -
-open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
-Sets the current widget as a D&D drop target with helper callback accepting String data. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-open fun show(): Widget
-Makes current widget visible. - |
-
- - | -
-open fun toggleVisible(): Widget
-Toggles visibility of current widget. - |
-
- - | -
-fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: Image.() -> Unit = null): Image
-DSL builder extension function. - |
-
protected open fun render(): VNode
-Overrides Widget.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var responsive: Boolean
-Determines if the image is rendered as responsive.
-Getter
-
Determines if the image is rendered as responsive.
- -Setter
-
Determines if the image is rendered as responsive.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-image/shape.html b/docs/api/pl.treksoft.kvision.html/-image/shape.html deleted file mode 100644 index 2c23cb61..00000000 --- a/docs/api/pl.treksoft.kvision.html/-image/shape.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var shape: ImageShape?
-The shape of the image.
-Getter
-
The shape of the image.
- -Setter
-
The shape of the image.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-image/src.html b/docs/api/pl.treksoft.kvision.html/-image/src.html deleted file mode 100644 index c78b41b6..00000000 --- a/docs/api/pl.treksoft.kvision.html/-image/src.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var src: ResString
-URL of the image.
-Getter
-
URL of the image.
- -Setter
-
URL of the image.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-label/-init-.html b/docs/api/pl.treksoft.kvision.html/-label/-init-.html deleted file mode 100644 index d396f2f9..00000000 --- a/docs/api/pl.treksoft.kvision.html/-label/-init-.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -Label(text: String, rich: Boolean = false)
-
-rich
- determines if text can contain HTML code
Constructor
-
open class Label : Tag
-Simple label component rendered as span.
-- - | -
-Label(text: String, rich: Boolean = false) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-var rich: Boolean
-Determines if text can contain HTML code. - |
-
- - | -
-var text: String?
-Text content of the tag. - |
-
- - | -
-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 Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label
-DSL builder extension function. - |
-
fun Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-link/-init-.html b/docs/api/pl.treksoft.kvision.html/-link/-init-.html deleted file mode 100644 index 25d0fc1e..00000000 --- a/docs/api/pl.treksoft.kvision.html/-link/-init-.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
-
-classes
- a set of CSS class names
Constructor
-
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
var icon: String?
-Link icon.
-Getter
-
Link icon.
- -Setter
-
Link icon.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-link/image.html b/docs/api/pl.treksoft.kvision.html/-link/image.html deleted file mode 100644 index 2d4687cf..00000000 --- a/docs/api/pl.treksoft.kvision.html/-link/image.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var image: ResString?
-Link image.
-Getter
-
Link image.
- -Setter
-
Link image.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-link/index.html b/docs/api/pl.treksoft.kvision.html/-link/index.html deleted file mode 100644 index a26de1f6..00000000 --- a/docs/api/pl.treksoft.kvision.html/-link/index.html +++ /dev/null @@ -1,172 +0,0 @@ - - - -open class Link : SimplePanel
-Link component.
-- - | -
-Link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf()) |
-
- - | -
-var icon: String?
-Link icon. - |
-
- - | -
-var image: ResString?
-Link image. - |
-
- - | -
-var label: String
-Link label. - |
-
- - | -
-var url: String
-Link URL address. - |
-
- - | -
-open fun getSnAttrs(): List<StringPair>
-Returns list of element attributes in the form of a List. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-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. - |
-
- - | -
-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 getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
-DSL builder extension function. - |
-
var label: String
-Link label.
-Getter
-
Link label.
- -Setter
-
Link label.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-link/link.html b/docs/api/pl.treksoft.kvision.html/-link/link.html deleted file mode 100644 index a962fd12..00000000 --- a/docs/api/pl.treksoft.kvision.html/-link/link.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.link(label: String, url: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: Link.() -> Unit = null): Link
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-link/render.html b/docs/api/pl.treksoft.kvision.html/-link/render.html deleted file mode 100644 index 295bfb6f..00000000 --- a/docs/api/pl.treksoft.kvision.html/-link/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var url: String
-Link URL address.
-Getter
-
Link URL address.
- -Setter
-
Link URL address.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html b/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html deleted file mode 100644 index e4b3366f..00000000 --- a/docs/api/pl.treksoft.kvision.html/-list-tag/-init-.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -ListTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: ListTag.() -> Unit = null)
-
-elements
- optional list of elements
-rich
- determines if elements can contain HTML code
-classes
- a set of CSS class names
-init
- an initializer extension function
Constructor
-
protected open fun childrenVNodes(): Array<VNode>
-Overrides SimplePanel.childrenVNodes
-Returns the array of the children Snabbdom vnodes.
-Return
-array of children vnodes
var elements: List<String>?
-List of elements.
-Getter
-
List of elements.
- -Setter
-
List of elements.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html b/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html deleted file mode 100644 index dfc28cbf..00000000 --- a/docs/api/pl.treksoft.kvision.html/-list-tag/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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 class ListTag : SimplePanel
-HTML list component.
-The list component can be populated directly from elements parameter or manually by adding -any Component to the container.
-- - | -
-ListTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: ListTag.() -> Unit = null) |
-
- - | -
-var elements: List<String>?
-List of elements. - |
-
- - | -
-var rich: Boolean
-Determines if elements can contain HTML code. - |
-
- - | -
-var type: ListType
-List type. - |
-
- - | -
-open fun childrenVNodes(): Array<VNode>
-Returns the array of the children Snabbdom vnodes. - |
-
- - | -
-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. - |
-
- - | -
-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. - |
-
- - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: ListTag.() -> Unit = null): ListTag
-DSL builder extension function. - |
-
fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: ListTag.() -> Unit = null): ListTag
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/render.html b/docs/api/pl.treksoft.kvision.html/-list-tag/render.html deleted file mode 100644 index 1077bab5..00000000 --- a/docs/api/pl.treksoft.kvision.html/-list-tag/render.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var rich: Boolean
-Determines if elements can contain HTML code.
-Getter
-
Determines if elements can contain HTML code.
- -Setter
-
Determines if elements can contain HTML code.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-list-tag/type.html b/docs/api/pl.treksoft.kvision.html/-list-tag/type.html deleted file mode 100644 index 8b7a41eb..00000000 --- a/docs/api/pl.treksoft.kvision.html/-list-tag/type.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var type: ListType
-List type.
-Getter
-
List type.
- -Setter
-
List type.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-d-l.html b/docs/api/pl.treksoft.kvision.html/-list-type/-d-l.html deleted file mode 100644 index 071936dc..00000000 --- a/docs/api/pl.treksoft.kvision.html/-list-type/-d-l.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html b/docs/api/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html
deleted file mode 100644
index f306772d..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-DL_HORIZ
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html b/docs/api/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html
deleted file mode 100644
index 00389cb1..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-INLINE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-o-l.html b/docs/api/pl.treksoft.kvision.html/-list-type/-o-l.html
deleted file mode 100644
index df83f73a..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/-o-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-OL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-u-l.html b/docs/api/pl.treksoft.kvision.html/-list-type/-u-l.html
deleted file mode 100644
index 2d42f06c..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/-u-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-UL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html b/docs/api/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html
deleted file mode 100644
index 699da8c7..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-UNSTYLED
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-list-type/index.html b/docs/api/pl.treksoft.kvision.html/-list-type/index.html
deleted file mode 100644
index 963ae3ef..00000000
--- a/docs/api/pl.treksoft.kvision.html/-list-type/index.html
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-enum class ListType
-HTML list types.
-- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
ABBR
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
deleted file mode 100644
index f71f09f7..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-ADDRESS
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
deleted file mode 100644
index 1ff977df..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-BLOCKQUOTE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
deleted file mode 100644
index 96dddc39..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-CITE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
deleted file mode 100644
index 1b83ea9f..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-CODE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
deleted file mode 100644
index b1ebaa48..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-DEL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
deleted file mode 100644
index 64b36880..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-DIV
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html
deleted file mode 100644
index 27c72f6f..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-e-m.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-EM
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
deleted file mode 100644
index 6d7bbd09..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-FOOTER
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
deleted file mode 100644
index 1fe3e5e4..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-HEADER
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html
deleted file mode 100644
index 68573620..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h1.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H1
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html
deleted file mode 100644
index 05e2d5f9..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h2.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H2
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html
deleted file mode 100644
index 73270dfa..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h3.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H3
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html
deleted file mode 100644
index 701f1131..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h4.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H4
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html
deleted file mode 100644
index e58876d2..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h5.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H5
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html
deleted file mode 100644
index f43ba6a9..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-h6.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-H6
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
deleted file mode 100644
index 4ab40a36..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-INS
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
deleted file mode 100644
index a343727c..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-KBD
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
deleted file mode 100644
index 2e1b29a4..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-LABEL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html
deleted file mode 100644
index 82ce67d0..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-l-i.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-LI
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
deleted file mode 100644
index b1019ff5..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-MARK
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html
deleted file mode 100644
index bc732339..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-o-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-OL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
deleted file mode 100644
index 0e08f247..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-PRE
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html
deleted file mode 100644
index 3969fbc3..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-p.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-P
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
deleted file mode 100644
index 1f19ebac..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-SAMP
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
deleted file mode 100644
index 8cc4a029..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-SECTION
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
deleted file mode 100644
index 25973d35..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-SMALL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
deleted file mode 100644
index e56480f5..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-SPAN
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
deleted file mode 100644
index 49d279c2..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-STRONG
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html
deleted file mode 100644
index 0f0fea89..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-s.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-S
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html
deleted file mode 100644
index 7931b416..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u-l.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-UL
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html
deleted file mode 100644
index c05c55e8..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-u.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-U
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
deleted file mode 100644
index 4602af8f..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-VAR
-
-
diff --git a/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html b/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html
deleted file mode 100644
index 9c7c4f82..00000000
--- a/docs/api/pl.treksoft.kvision.html/-t-a-g/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-
-
-
-enum class TAG
-HTML tags.
-- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
- - | -- | -
Tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null)
-
-text
- text content of the tag
-rich
- determines if text can contain HTML code
-classes
- a set of CSS class names
-init
- an initializer extension function
Constructor
-
var align: Align?
-Text align.
-Getter
-
Text align.
- -Setter
-
Text align.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html b/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html deleted file mode 100644 index ce622907..00000000 --- a/docs/api/pl.treksoft.kvision.html/-tag/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -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 class Tag : SimplePanel
-HTML tag component.
-- - | -
-Tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null) |
-
- - | -
-var align: Align?
-Text align. - |
-
- - | -
-var rich: Boolean
-Determines if text can contain HTML code. - |
-
- - | -
-var text: String?
-Text content of the tag. - |
-
- - | -
-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. - |
-
- - | -
-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. - |
-
- - | -
-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 getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-fun Container.tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag
-DSL builder extension function. - |
-
- - | -
-open class Div : Tag
-Simple component rendered as div. - |
-
- - | -
-open class FieldLabel : Tag
-Helper class for HTML label element. - |
-
- - | -
-open class HelpBlock : Tag
-Helper class for Bootstrap help block element. - |
-
- - | -
-open class Label : Tag
-Simple label component rendered as span. - |
-
protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var rich: Boolean
-Determines if text can contain HTML code.
-Getter
-
Determines if text can contain HTML code.
- -Setter
-
Determines if text can contain HTML code.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-tag/tag.html b/docs/api/pl.treksoft.kvision.html/-tag/tag.html deleted file mode 100644 index 62f92230..00000000 --- a/docs/api/pl.treksoft.kvision.html/-tag/tag.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.tag(type: TAG, text: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Tag.() -> Unit = null): Tag
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/docs/api/pl.treksoft.kvision.html/-tag/text.html b/docs/api/pl.treksoft.kvision.html/-tag/text.html deleted file mode 100644 index aca1a8d2..00000000 --- a/docs/api/pl.treksoft.kvision.html/-tag/text.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var text: String?
-Text content of the tag.
-Getter
-
Text content of the tag.
- -Setter
-
Text content of the tag.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/-tag/type.html b/docs/api/pl.treksoft.kvision.html/-tag/type.html deleted file mode 100644 index f20975ec..00000000 --- a/docs/api/pl.treksoft.kvision.html/-tag/type.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var type: TAG
-Tag type.
-Getter
-
Tag type.
- -Setter
-
Tag type.
- - - diff --git a/docs/api/pl.treksoft.kvision.html/index.html b/docs/api/pl.treksoft.kvision.html/index.html deleted file mode 100644 index 281a7789..00000000 --- a/docs/api/pl.treksoft.kvision.html/index.html +++ /dev/null @@ -1,135 +0,0 @@ - - - -Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links and lists.
-- - | -
-enum class Align
-CSS align attributes. - |
-
- - | -
-open class Button : Widget
-Button component. - |
-
- - | -
-enum class ButtonSize
-Button sizes. - |
-
- - | -
-enum class ButtonStyle
-Button styles. - |
-
- - | -
-open class Div : Tag
-Simple component rendered as div. - |
-
- - | -
-open class Image : Widget
-Image component. - |
-
- - | -
-enum class ImageShape
-Image shapes. - |
-
- - | -
-open class Label : Tag
-Simple label component rendered as span. - |
-
- - | -
-open class Link : SimplePanel
-Link component. - |
-
- - | -
-open class ListTag : SimplePanel
-HTML list component. - |
-
- - | -
-enum class ListType
-HTML list types. - |
-
- - | -
-enum class TAG
-HTML tags. - |
-
- - | -
-open class Tag : SimplePanel
-HTML tag component. - |
-