From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001
From: Robert Jaros CSS align attributes. Helper function for creating JavaScript objects from dynamic constructors. Button sizes. Helper function for creating JavaScript objects from dynamic constructors. Button styles. Helper function for creating JavaScript objects from dynamic constructors. Button types. Helper function for creating JavaScript objects from dynamic constructors.
+ 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/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html b/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html
new file mode 100644
index 00000000..cc038aab
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/-j-u-s-t-i-f-y.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+JUSTIFY
+
+JUSTIFY
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html b/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html
new file mode 100644
index 00000000..34996ada
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/-l-e-f-t.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+LEFT
+
+LEFT
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html b/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html
new file mode 100644
index 00000000..684bcfe1
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/-n-o-w-r-a-p.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+NOWRAP
+
+NOWRAP
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html b/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html
new file mode 100644
index 00000000..d1fb9939
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/-r-i-g-h-t.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+RIGHT
+
+RIGHT
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-align/class-name.html b/api1/pl.treksoft.kvision.html/-align/class-name.html
new file mode 100644
index 00000000..ca68fe46
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/class-name.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+className
+
+val className: String
+
+
diff --git a/api1/pl.treksoft.kvision.html/-align/index.html b/api1/pl.treksoft.kvision.html/-align/index.html
new file mode 100644
index 00000000..b2e8a73f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-align/index.html
@@ -0,0 +1,80 @@
+
+
+
+
+
+Align
+enum class Align
+Enum Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Properties
+
+
+
+
+
+
+
+
+
+
+
+val className: String
Extension Functions
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html b/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html
new file mode 100644
index 00000000..579441a2
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-size/-l-a-r-g-e.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+fun <T> Any?.createInstance(vararg args: dynamic): T
+
+
+LARGE
+
+LARGE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html
new file mode 100644
index 00000000..c2a12398
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-size/-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SMALL
+
+SMALL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html
new file mode 100644
index 00000000..1ae9d409
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-size/-x-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+XSMALL
+
+XSMALL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-size/index.html b/api1/pl.treksoft.kvision.html/-button-size/index.html
new file mode 100644
index 00000000..9401d4fc
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-size/index.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+ButtonSize
+enum class ButtonSize
+Enum Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Extension Functions
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html b/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html
new file mode 100644
index 00000000..670b9a69
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-d-a-n-g-e-r.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+fun <T> Any?.createInstance(vararg args: dynamic): T
+
+
+DANGER
+
+DANGER
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html b/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html
new file mode 100644
index 00000000..67f06f9f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-d-e-f-a-u-l-t.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+DEFAULT
+
+DEFAULT
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html b/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html
new file mode 100644
index 00000000..240caa0b
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-i-n-f-o.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+INFO
+
+INFO
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html b/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html
new file mode 100644
index 00000000..2f3154b3
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-l-i-n-k.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+LINK
+
+LINK
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html b/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html
new file mode 100644
index 00000000..f6c62a82
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-p-r-i-m-a-r-y.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+PRIMARY
+
+PRIMARY
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html b/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html
new file mode 100644
index 00000000..fead7ebb
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-s-u-c-c-e-s-s.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+SUCCESS
+
+SUCCESS
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html b/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html
new file mode 100644
index 00000000..2b8f45dc
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/-w-a-r-n-i-n-g.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+WARNING
+
+WARNING
+Inherited Properties
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/class-name.html b/api1/pl.treksoft.kvision.html/-button-style/class-name.html
new file mode 100644
index 00000000..23b01ddc
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/class-name.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+val className: String
+
+className
+
+val className: String
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-style/index.html b/api1/pl.treksoft.kvision.html/-button-style/index.html
new file mode 100644
index 00000000..d3e03a81
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-style/index.html
@@ -0,0 +1,94 @@
+
+
+
+
+
+ButtonStyle
+enum class ButtonStyle
+Enum Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Properties
+
+
+
+
+
+
+
+
+
+
+
+val className: String
Extension Functions
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html b/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html
new file mode 100644
index 00000000..4c82579f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-type/-b-u-t-t-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+fun <T> Any?.createInstance(vararg args: dynamic): T
+
+
+BUTTON
+
+BUTTON
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html b/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html
new file mode 100644
index 00000000..5fe96db0
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-type/-r-e-s-e-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+RESET
+
+RESET
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html b/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html
new file mode 100644
index 00000000..ac715940
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-type/-s-u-b-m-i-t.html
@@ -0,0 +1,14 @@
+
+
+
+
+
+SUBMIT
+
+SUBMIT
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button-type/index.html b/api1/pl.treksoft.kvision.html/-button-type/index.html
new file mode 100644
index 00000000..43ce9f34
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button-type/index.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+ButtonType
+enum class ButtonType
+Enum Values
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Extension Functions
+
+
+
+
+
diff --git a/api1/pl.treksoft.kvision.html/-button/-init-.html b/api1/pl.treksoft.kvision.html/-button/-init-.html
new file mode 100644
index 00000000..35134291
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-button/-init-.html
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+fun <T> Any?.createInstance(vararg args: dynamic): T
+
+
+<init>
+
+Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, 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/api1/pl.treksoft.kvision.html/-button/button.html b/api1/pl.treksoft.kvision.html/-button/button.html new file mode 100644 index 00000000..e48858ba --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/button.html @@ -0,0 +1,16 @@ + + + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, 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/api1/pl.treksoft.kvision.html/-button/disabled.html b/api1/pl.treksoft.kvision.html/-button/disabled.html new file mode 100644 index 00000000..6f924849 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/disabled.html @@ -0,0 +1,21 @@ + + + +var disabled: Boolean
+Determines if button is disabled.
+Getter
+
Determines if button is disabled.
+ +Setter
+
Determines if button is disabled.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html new file mode 100644 index 00000000..0c2ad719 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +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/api1/pl.treksoft.kvision.html/-button/image.html b/api1/pl.treksoft.kvision.html/-button/image.html new file mode 100644 index 00000000..cdd1a4f2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/image.html @@ -0,0 +1,21 @@ + + + +var image: ResString?
+Button image.
+Getter
+
Button image.
+ +Setter
+
Button image.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-button/index.html b/api1/pl.treksoft.kvision.html/-button/index.html new file mode 100644 index 00000000..715a4418 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/index.html @@ -0,0 +1,625 @@ + + + +open class Button : Widget
+Button component.
++ + | +
+Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, 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 type: ButtonType
+Button types. + |
+
+ + | +
+var draggable: Boolean?
+Determines if the current widget is draggable. + |
+
+ + | +
+var eventTarget: Widget? |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+var lastLanguage: String? |
+
+ + | +
+open var parent: Container?
+Parent of the current component. + |
+
+ + | +
+var popoverOptions: PopoverOptions? |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var surroundingSpan: Boolean |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+var tooltipOptions: TooltipOptions? |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var vnode: VNode? |
+
+ + | +
+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 addCssClass(css: Style): Widget
+Adds given style object 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 addSurroundingCssClass(css: Style): Widget
+Adds given style object 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 clearDragDropData(): Unit
+Clears D&D data for the current widget. It also makes it not draggable. + |
+
+ + | +
+open fun disablePopover(): Widget
+Disables popover for the current widget. + |
+
+ + | +
+open fun disableTooltip(): Widget
+Disables tooltip for the current widget. + |
+
+ + | +
+open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? |
+
+ + | +
+open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
+Enables popover for the current widget. + |
+
+ + | +
+open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
+Enables tooltip for the current widget. + |
+
+ + | +
+open fun getAttribute(name: String): String?
+Returns the value of an additional attribute. + |
+
+ + | +
+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 hidePopover(): Widget
+Hides popover for the current widget. + |
+
+ + | +
+open fun hideTooltip(): Widget
+Hides tooltip for the current widget. + |
+
+ + | +
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> + fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> |
+
+ + | +
+open fun removeAttribute(name: String): Widget
+Removes the value of additional attribute. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. +open fun removeCssClass(css: Style): Widget
+Removes given style object 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 removeSurroundingCssClass(css: Style): Widget
+Removes given style object 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 setAttribute(name: String, value: String): Widget
+Sets the value of additional attribute. + |
+
+ + | +
+open fun setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+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 showPopover(): Widget
+Shows popover for the current widget. + |
+
+ + | +
+open fun showTooltip(): Widget
+Shows tooltip for the current widget. + |
+
+ + | +
+fun <T> singleRender(block: () -> T): T |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+fun translate(text: String?): String? |
+
+ + | +
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/api1/pl.treksoft.kvision.html/-button/render.html b/api1/pl.treksoft.kvision.html/-button/render.html new file mode 100644 index 00000000..1e23270e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/render.html @@ -0,0 +1,18 @@ + + + +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/api1/pl.treksoft.kvision.html/-button/style.html b/api1/pl.treksoft.kvision.html/-button/style.html new file mode 100644 index 00000000..53caf7b6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/style.html @@ -0,0 +1,21 @@ + + + +var style: ButtonStyle
+Button style.
+Getter
+
Button style.
+ +Setter
+
Button style.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-button/text.html b/api1/pl.treksoft.kvision.html/-button/text.html new file mode 100644 index 00000000..6c2324b2 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/text.html @@ -0,0 +1,21 @@ + + + +var text: String
+Button label.
+Getter
+
Button label.
+ +Setter
+
Button label.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-button/type.html b/api1/pl.treksoft.kvision.html/-button/type.html new file mode 100644 index 00000000..697f0c9f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-button/type.html @@ -0,0 +1,21 @@ + + + +var type: ButtonType
+Button types.
+Getter
+
Button types.
+ +Setter
+
Button types.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-canvas/-init-.html b/api1/pl.treksoft.kvision.html/-canvas/-init-.html new file mode 100644 index 00000000..7cae50d1 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/-init-.html @@ -0,0 +1,23 @@ + + + +Canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf())
+
+canvasWidth
- the width of the canvas
+canvasHeight
- the height of the canvas
+classes
- a set of CSS class names
Constructor
+
var canvasHeight: Int?
+The height of the canvas.
+Getter
+
The height of the canvas.
+ +Setter
+
The height of the canvas.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html b/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html new file mode 100644 index 00000000..741c8362 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/canvas-width.html @@ -0,0 +1,21 @@ + + + +var canvasWidth: Int?
+The width of the canvas.
+Getter
+
The width of the canvas.
+ +Setter
+
The width of the canvas.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-canvas/canvas.html b/api1/pl.treksoft.kvision.html/-canvas/canvas.html new file mode 100644 index 00000000..cb9c0ce8 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/canvas.html @@ -0,0 +1,16 @@ + + + +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-canvas/context2-d.html b/api1/pl.treksoft.kvision.html/-canvas/context2-d.html new file mode 100644 index 00000000..9d85da89 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/context2-d.html @@ -0,0 +1,15 @@ + + + +lateinit var context2D: <ERROR CLASS>
+The canvas rendering context.
+ + diff --git a/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html new file mode 100644 index 00000000..f4b23558 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-canvas/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +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
open class Canvas : Widget
+Canvas component.
++ + | +
+Canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var canvasHeight: Int?
+The height of the canvas. + |
+
+ + | +
+var canvasWidth: Int?
+The width of the canvas. + |
+
+ + | +
+lateinit var context2D: <ERROR CLASS>
+The canvas rendering context. + |
+
+ + | +
+var draggable: Boolean?
+Determines if the current widget is draggable. + |
+
+ + | +
+var eventTarget: Widget? |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+var lastLanguage: String? |
+
+ + | +
+open var parent: Container?
+Parent of the current component. + |
+
+ + | +
+var popoverOptions: PopoverOptions? |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var surroundingSpan: Boolean |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+var tooltipOptions: TooltipOptions? |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var vnode: VNode? |
+
+ + | +
+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 addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. +open fun addCssClass(css: Style): Widget
+Adds given style object 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 addSurroundingCssClass(css: Style): Widget
+Adds given style object 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 clearDragDropData(): Unit
+Clears D&D data for the current widget. It also makes it not draggable. + |
+
+ + | +
+open fun disablePopover(): Widget
+Disables popover for the current widget. + |
+
+ + | +
+open fun disableTooltip(): Widget
+Disables tooltip for the current widget. + |
+
+ + | +
+open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? |
+
+ + | +
+open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
+Enables popover for the current widget. + |
+
+ + | +
+open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
+Enables tooltip for the current widget. + |
+
+ + | +
+open fun getAttribute(name: String): String?
+Returns the value of an additional attribute. + |
+
+ + | +
+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 getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+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 hidePopover(): Widget
+Hides popover for the current widget. + |
+
+ + | +
+open fun hideTooltip(): Widget
+Hides tooltip for the current widget. + |
+
+ + | +
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> + fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> |
+
+ + | +
+open fun removeAttribute(name: String): Widget
+Removes the value of additional attribute. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. +open fun removeCssClass(css: Style): Widget
+Removes given style object 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 removeSurroundingCssClass(css: Style): Widget
+Removes given style object 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 setAttribute(name: String, value: String): Widget
+Sets the value of additional attribute. + |
+
+ + | +
+open fun setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+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 showPopover(): Widget
+Shows popover for the current widget. + |
+
+ + | +
+open fun showTooltip(): Widget
+Shows tooltip for the current widget. + |
+
+ + | +
+fun <T> singleRender(block: () -> T): T |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+fun translate(text: String?): String? |
+
+ + | +
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.div(content: String? = null, 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/api1/pl.treksoft.kvision.html/-div/index.html b/api1/pl.treksoft.kvision.html/-div/index.html new file mode 100644 index 00000000..b05c8ff9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-div/index.html @@ -0,0 +1,153 @@ + + + +open class Div : Tag
+Simple component rendered as div.
++ + | +
+Div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
Footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null): Footer
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-footer/index.html b/api1/pl.treksoft.kvision.html/-footer/index.html new file mode 100644 index 00000000..60d8029c --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-footer/index.html @@ -0,0 +1,153 @@ + + + +open class Footer : Tag
+Simple component rendered as footer.
++ + | +
+Footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null): Footer
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h1/index.html b/api1/pl.treksoft.kvision.html/-h1/index.html new file mode 100644 index 00000000..1593c4d3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h1/index.html @@ -0,0 +1,153 @@ + + + +open class H1 : Tag
+Simple component rendered as h1.
++ + | +
+H1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h2/index.html b/api1/pl.treksoft.kvision.html/-h2/index.html new file mode 100644 index 00000000..3694063e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h2/index.html @@ -0,0 +1,153 @@ + + + +open class H2 : Tag
+Simple component rendered as h2.
++ + | +
+H2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h3/index.html b/api1/pl.treksoft.kvision.html/-h3/index.html new file mode 100644 index 00000000..bb31761e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h3/index.html @@ -0,0 +1,153 @@ + + + +open class H3 : Tag
+Simple component rendered as h3.
++ + | +
+H3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h4/index.html b/api1/pl.treksoft.kvision.html/-h4/index.html new file mode 100644 index 00000000..0ba549c9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h4/index.html @@ -0,0 +1,153 @@ + + + +open class H4 : Tag
+Simple component rendered as h4.
++ + | +
+H4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h5/index.html b/api1/pl.treksoft.kvision.html/-h5/index.html new file mode 100644 index 00000000..65cda355 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h5/index.html @@ -0,0 +1,153 @@ + + + +open class H5 : Tag
+Simple component rendered as h5.
++ + | +
+H5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
H6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-h6/index.html b/api1/pl.treksoft.kvision.html/-h6/index.html new file mode 100644 index 00000000..494b2479 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-h6/index.html @@ -0,0 +1,153 @@ + + + +open class H6 : Tag
+Simple component rendered as h6.
++ + | +
+H6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
Header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-header/index.html b/api1/pl.treksoft.kvision.html/-header/index.html new file mode 100644 index 00000000..f6d7278e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-header/index.html @@ -0,0 +1,153 @@ + + + +open class Header : Tag
+Simple component rendered as header.
++ + | +
+Header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Header.() -> Unit)? = null): Header
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
Icon(icon: String)
+Constructor
+
protected open fun getSnClass(): List<StringBoolPair>
+Overrides Tag.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
+Icon type.
+Getter
+
Icon type.
+ +Setter
+
Icon type.
+ + +fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-icon/index.html b/api1/pl.treksoft.kvision.html/-icon/index.html new file mode 100644 index 00000000..4f9b2ad9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-icon/index.html @@ -0,0 +1,172 @@ + + + +open class Icon : Tag
+Icon component with support for FontAwesome and Bootstrap glyphicons.
++ + | +
+Icon(icon: String) |
+
+ + | +
+var icon: String
+Icon type. + |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
+
+src
- the iframe document address
+srcdoc
- the HTML content of the iframe
+name
- the name of the iframe
+iframeWidth
- the width of the iframe
+iframeHeight
- the height of the iframe
+sandbox
- a set of Sandbox options
+classes
- a set of CSS class names
Constructor
+
open fun getIframeWindow(): Window
+Returns content window object of the iframe.
+Return
+content window object
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 iframeHeight: Int?
+The height of the iframe.
+Getter
+
The height of the iframe.
+ +Setter
+
The height of the iframe.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html b/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html new file mode 100644 index 00000000..046d9634 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/iframe-width.html @@ -0,0 +1,21 @@ + + + +var iframeWidth: Int?
+The width of the iframe.
+Getter
+
The width of the iframe.
+ +Setter
+
The width of the iframe.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-iframe/iframe.html b/api1/pl.treksoft.kvision.html/-iframe/iframe.html new file mode 100644 index 00000000..80df42e3 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/iframe.html @@ -0,0 +1,16 @@ + + + +fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-iframe/index.html b/api1/pl.treksoft.kvision.html/-iframe/index.html new file mode 100644 index 00000000..90f518dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/index.html @@ -0,0 +1,616 @@ + + + +open class Iframe : Widget
+Iframe component.
++ + | +
+Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf()) |
+
+ + | +
+var iframeHeight: Int?
+The height of the iframe. + |
+
+ + | +
+var iframeWidth: Int?
+The width of the iframe. + |
+
+ + | +
+var location: String?
+A current location URL of the iframe. + |
+
+ + | +
+var name: String?
+The name of the iframe. + |
+
+ + | +
+var sandbox: Set<Sandbox>?
+A set of Sandbox options. + |
+
+ + | +
+var src: String?
+The iframe document address. + |
+
+ + | +
+var srcdoc: String?
+The HTML content of the iframe. + |
+
+ + | +
+var draggable: Boolean?
+Determines if the current widget is draggable. + |
+
+ + | +
+var eventTarget: Widget? |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+var lastLanguage: String? |
+
+ + | +
+open var parent: Container?
+Parent of the current component. + |
+
+ + | +
+var popoverOptions: PopoverOptions? |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var surroundingSpan: Boolean |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+var tooltipOptions: TooltipOptions? |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var vnode: VNode? |
+
+ + | +
+open fun getIframeWindow(): Window
+Returns content window object of the iframe. + |
+
+ + | +
+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 addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. +open fun addCssClass(css: Style): Widget
+Adds given style object 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 addSurroundingCssClass(css: Style): Widget
+Adds given style object 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 clearDragDropData(): Unit
+Clears D&D data for the current widget. It also makes it not draggable. + |
+
+ + | +
+open fun disablePopover(): Widget
+Disables popover for the current widget. + |
+
+ + | +
+open fun disableTooltip(): Widget
+Disables tooltip for the current widget. + |
+
+ + | +
+open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? |
+
+ + | +
+open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
+Enables popover for the current widget. + |
+
+ + | +
+open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
+Enables tooltip for the current widget. + |
+
+ + | +
+open fun getAttribute(name: String): String?
+Returns the value of an additional attribute. + |
+
+ + | +
+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 getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+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 hidePopover(): Widget
+Hides popover for the current widget. + |
+
+ + | +
+open fun hideTooltip(): Widget
+Hides tooltip for the current widget. + |
+
+ + | +
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> + fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> |
+
+ + | +
+open fun removeAttribute(name: String): Widget
+Removes the value of additional attribute. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. +open fun removeCssClass(css: Style): Widget
+Removes given style object 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 removeSurroundingCssClass(css: Style): Widget
+Removes given style object 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 setAttribute(name: String, value: String): Widget
+Sets the value of additional attribute. + |
+
+ + | +
+open fun setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+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 showPopover(): Widget
+Shows popover for the current widget. + |
+
+ + | +
+open fun showTooltip(): Widget
+Shows tooltip for the current widget. + |
+
+ + | +
+fun <T> singleRender(block: () -> T): T |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+fun translate(text: String?): String? |
+
+ + | +
+fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
var location: String?
+A current location URL of the iframe.
+ + diff --git a/api1/pl.treksoft.kvision.html/-iframe/name.html b/api1/pl.treksoft.kvision.html/-iframe/name.html new file mode 100644 index 00000000..94ee6d36 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/name.html @@ -0,0 +1,21 @@ + + + +var name: String?
+The name of the iframe.
+Getter
+
The name of the iframe.
+ +Setter
+
The name of the iframe.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-iframe/render.html b/api1/pl.treksoft.kvision.html/-iframe/render.html new file mode 100644 index 00000000..0228603e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
var sandbox: Set<Sandbox>?
+A set of Sandbox options.
+Getter
+
A set of Sandbox options.
+ +Setter
+
A set of Sandbox options.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-iframe/src.html b/api1/pl.treksoft.kvision.html/-iframe/src.html new file mode 100644 index 00000000..a55ef1b9 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/src.html @@ -0,0 +1,21 @@ + + + +var src: String?
+The iframe document address.
+Getter
+
The iframe document address.
+ +Setter
+
The iframe document address.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html b/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html new file mode 100644 index 00000000..a762a02a --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-iframe/srcdoc.html @@ -0,0 +1,21 @@ + + + +var srcdoc: String?
+The HTML content of the iframe.
+Getter
+
The HTML content of the iframe.
+ +Setter
+
The HTML content of the iframe.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html b/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html new file mode 100644 index 00000000..521ad95e --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image-shape/-c-i-r-c-l-e.html @@ -0,0 +1,14 @@ + + + +CIRCLE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html b/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html
new file mode 100644
index 00000000..726addaf
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-image-shape/-r-o-u-n-d-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+ROUNDED
+
+
diff --git a/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html b/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html
new file mode 100644
index 00000000..43763262
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-image-shape/-t-h-u-m-b-n-a-i-l.html
@@ -0,0 +1,14 @@
+
+
+
+THUMBNAIL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-image-shape/index.html b/api1/pl.treksoft.kvision.html/-image-shape/index.html
new file mode 100644
index 00000000..7e577a1a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-image-shape/index.html
@@ -0,0 +1,54 @@
+
+
+
+enum class ImageShape
+Image shapes.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
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/api1/pl.treksoft.kvision.html/-image/centered.html b/api1/pl.treksoft.kvision.html/-image/centered.html new file mode 100644 index 00000000..1c0a1eeb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/centered.html @@ -0,0 +1,21 @@ + + + +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/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html b/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html new file mode 100644 index 00000000..7867afee --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/get-sn-attrs.html @@ -0,0 +1,18 @@ + + + +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/api1/pl.treksoft.kvision.html/-image/index.html b/api1/pl.treksoft.kvision.html/-image/index.html new file mode 100644 index 00000000..0e2b386d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/index.html @@ -0,0 +1,589 @@ + + + +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 eventTarget: Widget? |
+
+ + | +
+var id: String?
+An ID attribute of generated HTML element. + |
+
+ + | +
+var lastLanguage: String? |
+
+ + | +
+open var parent: Container?
+Parent of the current component. + |
+
+ + | +
+var popoverOptions: PopoverOptions? |
+
+ + | +
+var role: String?
+A role attribute of generated HTML element. + |
+
+ + | +
+var surroundingSpan: Boolean |
+
+ + | +
+var title: String?
+A title attribute of generated HTML element. + |
+
+ + | +
+var tooltipOptions: TooltipOptions? |
+
+ + | +
+open var visible: Boolean
+Visibility state of the current component. + |
+
+ + | +
+var vnode: VNode? |
+
+ + | +
+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 addCssClass(css: Style): Widget
+Adds given style object 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 addSurroundingCssClass(css: Style): Widget
+Adds given style object 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 clearDragDropData(): Unit
+Clears D&D data for the current widget. It also makes it not draggable. + |
+
+ + | +
+open fun disablePopover(): Widget
+Disables popover for the current widget. + |
+
+ + | +
+open fun disableTooltip(): Widget
+Disables tooltip for the current widget. + |
+
+ + | +
+open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean? |
+
+ + | +
+open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
+Enables popover for the current widget. + |
+
+ + | +
+open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
+Enables tooltip for the current widget. + |
+
+ + | +
+open fun getAttribute(name: String): String?
+Returns the value of an additional attribute. + |
+
+ + | +
+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 hidePopover(): Widget
+Hides popover for the current widget. + |
+
+ + | +
+open fun hideTooltip(): Widget
+Hides tooltip for the current widget. + |
+
+ + | +
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> + fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Widget.RefreshDelegateProvider<T> |
+
+ + | +
+open fun removeAttribute(name: String): Widget
+Removes the value of additional attribute. + |
+
+ + | +
+open fun removeCssClass(css: String): Widget
+Removes given value from the set of CSS classes generated in html code of current component. +open fun removeCssClass(css: Style): Widget
+Removes given style object 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 removeSurroundingCssClass(css: Style): Widget
+Removes given style object 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 setAttribute(name: String, value: String): Widget
+Sets the value of additional attribute. + |
+
+ + | +
+open fun setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+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 showPopover(): Widget
+Shows popover for the current widget. + |
+
+ + | +
+open fun showTooltip(): Widget
+Shows tooltip for the current widget. + |
+
+ + | +
+fun <T> singleRender(block: () -> T): T |
+
+ + | +
+open fun toggleVisible(): Widget
+Toggles visibility of current widget. + |
+
+ + | +
+fun translate(text: String?): String? |
+
+ + | +
+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. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
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/api1/pl.treksoft.kvision.html/-image/shape.html b/api1/pl.treksoft.kvision.html/-image/shape.html new file mode 100644 index 00000000..2c23cb61 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/shape.html @@ -0,0 +1,21 @@ + + + +var shape: ImageShape?
+The shape of the image.
+Getter
+
The shape of the image.
+ +Setter
+
The shape of the image.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-image/src.html b/api1/pl.treksoft.kvision.html/-image/src.html new file mode 100644 index 00000000..c78b41b6 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-image/src.html @@ -0,0 +1,21 @@ + + + +var src: ResString
+URL of the image.
+Getter
+
URL of the image.
+ +Setter
+
URL of the image.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-label/-init-.html b/api1/pl.treksoft.kvision.html/-label/-init-.html new file mode 100644 index 00000000..4b2bf1ef --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-label/-init-.html @@ -0,0 +1,21 @@ + + + +Label(content: String? = null, rich: Boolean = false)
+
+rich
- determines if content can contain HTML code
Constructor
+
open class Label : Span
Simple label component rendered as span.
++ + | +
+Label(content: String? = null, rich: Boolean = false) |
+
+ + | +
+fun Container.
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
fun Container.label(content: String? = null, 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/api1/pl.treksoft.kvision.html/-link/-init-.html b/api1/pl.treksoft.kvision.html/-link/-init-.html new file mode 100644 index 00000000..40df5810 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/-init-.html @@ -0,0 +1,27 @@ + + + +Link(label: String, url: String? = null, 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/api1/pl.treksoft.kvision.html/-link/image.html b/api1/pl.treksoft.kvision.html/-link/image.html new file mode 100644 index 00000000..2d4687cf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/image.html @@ -0,0 +1,21 @@ + + + +var image: ResString?
+Link image.
+Getter
+
Link image.
+ +Setter
+
Link image.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-link/index.html b/api1/pl.treksoft.kvision.html/-link/index.html new file mode 100644 index 00000000..9ff080aa --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/index.html @@ -0,0 +1,205 @@ + + + +open class Link : SimplePanel
+Link component.
++ + | +
+Link(label: String, url: String? = null, 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 onClick(handler: Link.(MouseEvent) -> Unit): Link
+A convenient helper for easy setting onClick event handler. + |
+
+ + | +
+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? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+DSL builder extension function. + |
+
+ + | +
+fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link + fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+DSL builder extension function for a disabled link in a dropdown list. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
var label: String
+Link label.
+Getter
+
Link label.
+ +Setter
+
Link label.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-link/link-disabled.html b/api1/pl.treksoft.kvision.html/-link/link-disabled.html new file mode 100644 index 00000000..4c3ffe22 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/link-disabled.html @@ -0,0 +1,18 @@ + + + +fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
+DSL builder extension function for a disabled link in a dropdown list.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-link/link.html b/api1/pl.treksoft.kvision.html/-link/link.html new file mode 100644 index 00000000..9ebd545f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/link.html @@ -0,0 +1,16 @@ + + + +fun Container.link(label: String, url: String? = null, 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/api1/pl.treksoft.kvision.html/-link/on-click.html b/api1/pl.treksoft.kvision.html/-link/on-click.html new file mode 100644 index 00000000..ca274fbf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/on-click.html @@ -0,0 +1,15 @@ + + + +open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
+A convenient helper for easy setting onClick event handler.
+ + diff --git a/api1/pl.treksoft.kvision.html/-link/render.html b/api1/pl.treksoft.kvision.html/-link/render.html new file mode 100644 index 00000000..295bfb6f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-link/render.html @@ -0,0 +1,18 @@ + + + +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/api1/pl.treksoft.kvision.html/-list-tag/-init-.html b/api1/pl.treksoft.kvision.html/-list-tag/-init-.html new file mode 100644 index 00000000..7e325141 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/-init-.html @@ -0,0 +1,27 @@ + + + +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/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html b/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html new file mode 100644 index 00000000..dfc28cbf --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/get-sn-class.html @@ -0,0 +1,18 @@ + + + +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 <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+open class ContextMenu : ListTag
+Context menu component. + |
+
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/api1/pl.treksoft.kvision.html/-list-tag/render.html b/api1/pl.treksoft.kvision.html/-list-tag/render.html new file mode 100644 index 00000000..1077bab5 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/render.html @@ -0,0 +1,18 @@ + + + +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/api1/pl.treksoft.kvision.html/-list-tag/type.html b/api1/pl.treksoft.kvision.html/-list-tag/type.html new file mode 100644 index 00000000..8b7a41eb --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-tag/type.html @@ -0,0 +1,21 @@ + + + +var type: ListType
+List type.
+Getter
+
List type.
+ +Setter
+
List type.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-list-type/-d-l.html b/api1/pl.treksoft.kvision.html/-list-type/-d-l.html new file mode 100644 index 00000000..071936dc --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-list-type/-d-l.html @@ -0,0 +1,14 @@ + + + +DL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html b/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html
new file mode 100644
index 00000000..f306772d
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/-d-l_-h-o-r-i-z.html
@@ -0,0 +1,14 @@
+
+
+
+DL_HORIZ
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html b/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html
new file mode 100644
index 00000000..00389cb1
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/-i-n-l-i-n-e.html
@@ -0,0 +1,14 @@
+
+
+
+INLINE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/-o-l.html b/api1/pl.treksoft.kvision.html/-list-type/-o-l.html
new file mode 100644
index 00000000..df83f73a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/-o-l.html
@@ -0,0 +1,14 @@
+
+
+
+OL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/-u-l.html b/api1/pl.treksoft.kvision.html/-list-type/-u-l.html
new file mode 100644
index 00000000..2d42f06c
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/-u-l.html
@@ -0,0 +1,14 @@
+
+
+
+UL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html b/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html
new file mode 100644
index 00000000..699da8c7
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/-u-n-s-t-y-l-e-d.html
@@ -0,0 +1,14 @@
+
+
+
+UNSTYLED
+
+
diff --git a/api1/pl.treksoft.kvision.html/-list-type/index.html b/api1/pl.treksoft.kvision.html/-list-type/index.html
new file mode 100644
index 00000000..b866f1ff
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-list-type/index.html
@@ -0,0 +1,75 @@
+
+
+
+enum class ListType
+HTML list types.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
P(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
open class P : Tag
+Simple component rendered as p.
++ + | +
+P(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html new file mode 100644 index 00000000..5a4f8b35 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-f-o-r-m-s.html @@ -0,0 +1,14 @@ + + + +ALLOWFORMS
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html
new file mode 100644
index 00000000..a68820bf
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-i-n-t-e-r-l-o-c-k.html
@@ -0,0 +1,14 @@
+
+
+
+ALLOWPOINTERLOCK
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html
new file mode 100644
index 00000000..23e09931
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-p-o-p-u-p-s.html
@@ -0,0 +1,14 @@
+
+
+
+ALLOWPOPUPS
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html
new file mode 100644
index 00000000..89fc7964
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-a-m-e-o-r-i-g-i-n.html
@@ -0,0 +1,14 @@
+
+
+
+ALLOWSAMEORIGIN
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html
new file mode 100644
index 00000000..67502431
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-s-c-r-i-p-t-s.html
@@ -0,0 +1,14 @@
+
+
+
+ALLOWSCRIPTS
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html
new file mode 100644
index 00000000..a5300229
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/-a-l-l-o-w-t-o-p-n-a-v-i-g-a-t-i-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+ALLOWTOPNAVIGATION
+
+
diff --git a/api1/pl.treksoft.kvision.html/-sandbox/index.html b/api1/pl.treksoft.kvision.html/-sandbox/index.html
new file mode 100644
index 00000000..d6145aac
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-sandbox/index.html
@@ -0,0 +1,75 @@
+
+
+
+enum class Sandbox
+Iframe sandbox options.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
Section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
open class Section : Tag
+Simple component rendered as section.
++ + | +
+Section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-span/-init-.html b/api1/pl.treksoft.kvision.html/-span/-init-.html new file mode 100644 index 00000000..4a8ad02f --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-span/-init-.html @@ -0,0 +1,27 @@ + + + +Span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null)
+
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+init
- an initializer extension function
Constructor
+
open class Span : Tag
+Simple component rendered as span.
++ + | +
+Span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null) |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
+ + | +
+open class
+Simple label component rendered as span. + |
+
fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html new file mode 100644 index 00000000..c461a119 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-t-a-g/-a-b-b-r.html @@ -0,0 +1,14 @@ + + + +ABBR
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
new file mode 100644
index 00000000..f71f09f7
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-a-d-d-r-e-s-s.html
@@ -0,0 +1,14 @@
+
+
+
+ADDRESS
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
new file mode 100644
index 00000000..1ff977df
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-l-o-c-k-q-u-o-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+BLOCKQUOTE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html
new file mode 100644
index 00000000..11bf0e4e
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-r.html
@@ -0,0 +1,14 @@
+
+
+
+BR
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html
new file mode 100644
index 00000000..5326d035
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b-u-t-t-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+BUTTON
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-b.html b/api1/pl.treksoft.kvision.html/-t-a-g/-b.html
new file mode 100644
index 00000000..2c929dc9
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-b.html
@@ -0,0 +1,14 @@
+
+
+
+B
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html
new file mode 100644
index 00000000..0980b5d1
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-a-p-t-i-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+CAPTION
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
new file mode 100644
index 00000000..96dddc39
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-i-t-e.html
@@ -0,0 +1,14 @@
+
+
+
+CITE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
new file mode 100644
index 00000000..1b83ea9f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-c-o-d-e.html
@@ -0,0 +1,14 @@
+
+
+
+CODE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
new file mode 100644
index 00000000..b1ebaa48
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-d-e-l.html
@@ -0,0 +1,14 @@
+
+
+
+DEL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html b/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
new file mode 100644
index 00000000..64b36880
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-d-i-v.html
@@ -0,0 +1,14 @@
+
+
+
+DIV
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html b/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html
new file mode 100644
index 00000000..27c72f6f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-e-m.html
@@ -0,0 +1,14 @@
+
+
+
+EM
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
new file mode 100644
index 00000000..6d7bbd09
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-o-t-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+FOOTER
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html
new file mode 100644
index 00000000..e0fd8ae9
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-f-o-r-m.html
@@ -0,0 +1,14 @@
+
+
+
+FORM
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
new file mode 100644
index 00000000..1fe3e5e4
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h-e-a-d-e-r.html
@@ -0,0 +1,14 @@
+
+
+
+HEADER
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html
new file mode 100644
index 00000000..1c3cf202
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h-r.html
@@ -0,0 +1,14 @@
+
+
+
+HR
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html
new file mode 100644
index 00000000..68573620
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h1.html
@@ -0,0 +1,14 @@
+
+
+
+H1
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html
new file mode 100644
index 00000000..05e2d5f9
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h2.html
@@ -0,0 +1,14 @@
+
+
+
+H2
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html
new file mode 100644
index 00000000..73270dfa
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h3.html
@@ -0,0 +1,14 @@
+
+
+
+H3
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html
new file mode 100644
index 00000000..701f1131
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h4.html
@@ -0,0 +1,14 @@
+
+
+
+H4
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html
new file mode 100644
index 00000000..e58876d2
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h5.html
@@ -0,0 +1,14 @@
+
+
+
+H5
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html b/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html
new file mode 100644
index 00000000..f43ba6a9
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-h6.html
@@ -0,0 +1,14 @@
+
+
+
+H6
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html
new file mode 100644
index 00000000..800023b8
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-p-u-t.html
@@ -0,0 +1,14 @@
+
+
+
+INPUT
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
new file mode 100644
index 00000000..4ab40a36
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i-n-s.html
@@ -0,0 +1,14 @@
+
+
+
+INS
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-i.html b/api1/pl.treksoft.kvision.html/-t-a-g/-i.html
new file mode 100644
index 00000000..e455c774
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-i.html
@@ -0,0 +1,14 @@
+
+
+
+I
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
new file mode 100644
index 00000000..a343727c
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-k-b-d.html
@@ -0,0 +1,14 @@
+
+
+
+KBD
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
new file mode 100644
index 00000000..2e1b29a4
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-l-a-b-e-l.html
@@ -0,0 +1,14 @@
+
+
+
+LABEL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html b/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html
new file mode 100644
index 00000000..82ce67d0
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-l-i.html
@@ -0,0 +1,14 @@
+
+
+
+LI
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html b/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
new file mode 100644
index 00000000..b1019ff5
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-m-a-r-k.html
@@ -0,0 +1,14 @@
+
+
+
+MARK
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html
new file mode 100644
index 00000000..bc732339
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-o-l.html
@@ -0,0 +1,14 @@
+
+
+
+OL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html
new file mode 100644
index 00000000..6ff46cd8
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-o-p-t-i-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+OPTION
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html b/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
new file mode 100644
index 00000000..0e08f247
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-p-r-e.html
@@ -0,0 +1,14 @@
+
+
+
+PRE
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-p.html b/api1/pl.treksoft.kvision.html/-t-a-g/-p.html
new file mode 100644
index 00000000..3969fbc3
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-p.html
@@ -0,0 +1,14 @@
+
+
+
+P
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
new file mode 100644
index 00000000..1f19ebac
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-a-m-p.html
@@ -0,0 +1,14 @@
+
+
+
+SAMP
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
new file mode 100644
index 00000000..8cc4a029
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-c-t-i-o-n.html
@@ -0,0 +1,14 @@
+
+
+
+SECTION
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html
new file mode 100644
index 00000000..ac48ef12
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-e-l-e-c-t.html
@@ -0,0 +1,14 @@
+
+
+
+SELECT
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
new file mode 100644
index 00000000..25973d35
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-m-a-l-l.html
@@ -0,0 +1,14 @@
+
+
+
+SMALL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
new file mode 100644
index 00000000..e56480f5
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-p-a-n.html
@@ -0,0 +1,14 @@
+
+
+
+SPAN
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
new file mode 100644
index 00000000..49d279c2
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s-t-r-o-n-g.html
@@ -0,0 +1,14 @@
+
+
+
+STRONG
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-s.html b/api1/pl.treksoft.kvision.html/-t-a-g/-s.html
new file mode 100644
index 00000000..0f0fea89
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-s.html
@@ -0,0 +1,14 @@
+
+
+
+S
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html
new file mode 100644
index 00000000..f15e007a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-b-o-d-y.html
@@ -0,0 +1,14 @@
+
+
+
+TBODY
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html
new file mode 100644
index 00000000..2d149f0a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-d.html
@@ -0,0 +1,14 @@
+
+
+
+TD
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html
new file mode 100644
index 00000000..6be9bff4
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h-e-a-d.html
@@ -0,0 +1,14 @@
+
+
+
+THEAD
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html
new file mode 100644
index 00000000..7a9a3142
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-h.html
@@ -0,0 +1,14 @@
+
+
+
+TH
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html
new file mode 100644
index 00000000..50b3b051
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-t-r.html
@@ -0,0 +1,14 @@
+
+
+
+TR
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html b/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html
new file mode 100644
index 00000000..7931b416
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-u-l.html
@@ -0,0 +1,14 @@
+
+
+
+UL
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-u.html b/api1/pl.treksoft.kvision.html/-t-a-g/-u.html
new file mode 100644
index 00000000..c05c55e8
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-u.html
@@ -0,0 +1,14 @@
+
+
+
+U
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html b/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
new file mode 100644
index 00000000..4602af8f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/-v-a-r.html
@@ -0,0 +1,14 @@
+
+
+
+VAR
+
+
diff --git a/api1/pl.treksoft.kvision.html/-t-a-g/index.html b/api1/pl.treksoft.kvision.html/-t-a-g/index.html
new file mode 100644
index 00000000..4b916a25
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-t-a-g/index.html
@@ -0,0 +1,369 @@
+
+
+
+enum class TAG
+HTML tags.
++ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | ++ | +
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null)
+
+content
- content text of the tag
+rich
- determines if content can contain HTML code
+classes
- a set of CSS class names
+attributes
- a map of additional attributes
+init
- an initializer extension function
Constructor
+
var align: Align?
+Text align.
+Getter
+
Text align.
+ +Setter
+
Text align.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/content.html b/api1/pl.treksoft.kvision.html/-tag/content.html new file mode 100644 index 00000000..42016db7 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/content.html @@ -0,0 +1,22 @@ + + + +open var content: String?
+Overrides Template.content
+Text content of the tag.
+Getter
+
Text content of the tag.
+ +Setter
+
Text content of the tag.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html b/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html new file mode 100644 index 00000000..ce622907 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/get-sn-class.html @@ -0,0 +1,18 @@ + + + +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, Template
+HTML tag component.
++ + | +
+Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null) |
+
+ + | +
+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 var templateData: Any?
+Handlebars template data object. + |
+
+ + | +
+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. + |
+
+ + | +
+operator fun String.unaryPlus(): Unit |
+
+ + | +
+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, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
+ + | +
+open class Cell : Tag
+HTML table cell component. + |
+
+ + | +
+open class Div : Tag
+Simple component rendered as div. + |
+
+ + | +
+open class FieldLabel : Tag
+Helper class for HTML label element. + |
+
+ + | +
+open class Footer : Tag
+Simple component rendered as footer. + |
+
+ + | +
+open class H1 : Tag
+Simple component rendered as h1. + |
+
+ + | +
+open class H2 : Tag
+Simple component rendered as h2. + |
+
+ + | +
+open class H3 : Tag
+Simple component rendered as h3. + |
+
+ + | +
+open class H4 : Tag
+Simple component rendered as h4. + |
+
+ + | +
+open class H5 : Tag
+Simple component rendered as h5. + |
+
+ + | +
+open class H6 : Tag
+Simple component rendered as h6. + |
+
+ + | +
+open class Header : Tag
+Menu header component. + |
+
+ + | +
+open class Header : Tag
+Simple component rendered as header. + |
+
+ + | +
+open class HeaderCell : Tag
+HTML table header cell component. + |
+
+ + | +
+open class HelpBlock : Tag
+Helper class for Bootstrap help block element. + |
+
+ + | +
+open class Icon : Tag
+Icon component with support for FontAwesome and Bootstrap glyphicons. + |
+
+ + | +
+open class Nav : Tag
+The Bootstrap Nav container. + |
+
+ + | +
+open class NavForm : Tag
+The Bootstrap Nav form container. + |
+
+ + | +
+open class P : Tag
+Simple component rendered as p. + |
+
+ + | +
+open class Row : Tag
+HTML table row component. + |
+
+ + | +
+open class Section : Tag
+Simple component rendered as section. + |
+
+ + | +
+open class Separator : Tag
+Menu separator component. + |
+
+ + | +
+open class Span : Tag
+Simple component rendered as span. + |
+
protected open fun render(): VNode
+Overrides SimplePanel.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
open var rich: Boolean
+Overrides Template.rich
+Determines if content can contain HTML code.
+Getter
+
Determines if content can contain HTML code.
+ +Setter
+
Determines if content can contain HTML code.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/tag.html b/api1/pl.treksoft.kvision.html/-tag/tag.html new file mode 100644 index 00000000..63c03d90 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/tag.html @@ -0,0 +1,16 @@ + + + +fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api1/pl.treksoft.kvision.html/-tag/template.html b/api1/pl.treksoft.kvision.html/-tag/template.html new file mode 100644 index 00000000..c33a1d3d --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/template.html @@ -0,0 +1,22 @@ + + + +open var template: ((Any?) -> String)?
+Overrides Template.template
+Handlebars template.
+Getter
+
Handlebars template.
+ +Setter
+
Handlebars template.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/templates.html b/api1/pl.treksoft.kvision.html/-tag/templates.html new file mode 100644 index 00000000..35efa286 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/templates.html @@ -0,0 +1,22 @@ + + + +open var templates: Map<String, (Any?) -> String>
+Overrides Template.templates
+Handlebars templates for i18n.
+Getter
+
Handlebars templates for i18n.
+ +Setter
+
Handlebars templates for i18n.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/type.html b/api1/pl.treksoft.kvision.html/-tag/type.html new file mode 100644 index 00000000..f20975ec --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/type.html @@ -0,0 +1,21 @@ + + + +var type: TAG
+Tag type.
+Getter
+
Tag type.
+ +Setter
+
Tag type.
+ + + diff --git a/api1/pl.treksoft.kvision.html/-tag/unary-plus.html b/api1/pl.treksoft.kvision.html/-tag/unary-plus.html new file mode 100644 index 00000000..4b2f8623 --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-tag/unary-plus.html @@ -0,0 +1,14 @@ + + + +operator fun String.unaryPlus(): Unit
+
+
diff --git a/api1/pl.treksoft.kvision.html/-template/content.html b/api1/pl.treksoft.kvision.html/-template/content.html
new file mode 100644
index 00000000..0910458f
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-template/content.html
@@ -0,0 +1,14 @@
+
+
+
+abstract var content: String?
+
+
diff --git a/api1/pl.treksoft.kvision.html/-template/index.html b/api1/pl.treksoft.kvision.html/-template/index.html
new file mode 100644
index 00000000..4f3fe7a8
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-template/index.html
@@ -0,0 +1,94 @@
+
+
+
+interface Template
+Handlebars templates helper interface.
++ + | +
+abstract var content: String? |
+
+ + | +
+abstract var rich: Boolean |
+
+ + | +
+abstract var template: ((Any?) -> String)? |
+
+ + | +
+open var templateData: Any?
+Handlebars template data object. + |
+
+ + | +
+abstract var templates: Map<String, (Any?) -> String> |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
+ + | +
+open class Tag : SimplePanel, Template
+HTML tag component. + |
+
abstract var rich: Boolean
+
+
diff --git a/api1/pl.treksoft.kvision.html/-template/template-data.html b/api1/pl.treksoft.kvision.html/-template/template-data.html
new file mode 100644
index 00000000..4e4f7a9c
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-template/template-data.html
@@ -0,0 +1,15 @@
+
+
+
+open var templateData: Any?
+Handlebars template data object.
+ + diff --git a/api1/pl.treksoft.kvision.html/-template/template.html b/api1/pl.treksoft.kvision.html/-template/template.html new file mode 100644 index 00000000..d32194af --- /dev/null +++ b/api1/pl.treksoft.kvision.html/-template/template.html @@ -0,0 +1,14 @@ + + + +abstract var template: ((Any?) -> String)?
+
+
diff --git a/api1/pl.treksoft.kvision.html/-template/templates.html b/api1/pl.treksoft.kvision.html/-template/templates.html
new file mode 100644
index 00000000..8a25f0d0
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/-template/templates.html
@@ -0,0 +1,14 @@
+
+
+
+abstract var templates: Map<String, (Any?) -> String>
+
+
diff --git a/api1/pl.treksoft.kvision.html/index.html b/api1/pl.treksoft.kvision.html/index.html
new file mode 100644
index 00000000..d6fe172a
--- /dev/null
+++ b/api1/pl.treksoft.kvision.html/index.html
@@ -0,0 +1,304 @@
+
+
+
+Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links, lists and iframe. +Support for Handlebars.js templates is included.
++ + | +
+enum class Align
+CSS align attributes. + |
+
+ + | +
+open class Button : Widget
+Button component. + |
+
+ + | +
+enum class ButtonSize
+Button sizes. + |
+
+ + | +
+enum class ButtonStyle
+Button styles. + |
+
+ + | +
+enum class ButtonType
+Button types. + |
+
+ + | +
+open class Canvas : Widget
+Canvas component. + |
+
+ + | +
+open class Div : Tag
+Simple component rendered as div. + |
+
+ + | +
+open class Footer : Tag
+Simple component rendered as footer. + |
+
+ + | +
+open class H1 : Tag
+Simple component rendered as h1. + |
+
+ + | +
+open class H2 : Tag
+Simple component rendered as h2. + |
+
+ + | +
+open class H3 : Tag
+Simple component rendered as h3. + |
+
+ + | +
+open class H4 : Tag
+Simple component rendered as h4. + |
+
+ + | +
+open class H5 : Tag
+Simple component rendered as h5. + |
+
+ + | +
+open class H6 : Tag
+Simple component rendered as h6. + |
+
+ + | +
+open class Header : Tag
+Simple component rendered as header. + |
+
+ + | +
+open class Icon : Tag
+Icon component with support for FontAwesome and Bootstrap glyphicons. + |
+
+ + | +
+open class Iframe : Widget
+Iframe component. + |
+
+ + | +
+open class Image : Widget
+Image component. + |
+
+ + | +
+enum class ImageShape
+Image shapes. + |
+
+ + | +
+open class
+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. + |
+
+ + | +
+open class P : Tag
+Simple component rendered as p. + |
+
+ + | +
+enum class Sandbox
+Iframe sandbox options. + |
+
+ + | +
+open class Section : Tag
+Simple component rendered as section. + |
+
+ + | +
+open class Span : Tag
+Simple component rendered as span. + |
+
+ + | +
+enum class TAG
+HTML tags. + |
+
+ + | +
+open class Tag : SimplePanel, Template
+HTML tag component. + |
+
+ + | +
+interface Template
+Handlebars templates helper interface. + |
+
+ + | +
+fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit + fun <K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data. + |
+
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
inline fun <reified K : Any> Template.setData(obj: K): Unit
+Extension function to set serializable object as a template data.
+ + -- cgit