From 6ce402754e01940fc641f8814eae03599a622b1c Mon Sep 17 00:00:00 2001
From: Robert Jaros
+
+
+
+ Constructor Overrides Widget.afterInsert Method called after inserting Snabbdom vnode into the DOM. Determines if the range input is automatically focused. Getter Determines if the range input is automatically focused.
+
+<init>
+
+RangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf())
+Parameters
+
+min
- minimal value (default 0)max
- maximal value (default 100)step
- step value (default 1)classes
- a set of CSS class names
+
+
+afterInsert
+
+protected open fun afterInsert(node: VNode): Unit
+
+
+autofocus
+
+var autofocus: Boolean?
+
+
Setter
+
Determines if the range input is automatically focused.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/blur.html b/api/pl.treksoft.kvision.form.range/-range-input/blur.html new file mode 100644 index 00000000..161b5d56 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/blur.html @@ -0,0 +1,16 @@ + + + +open fun blur(): Unit
+Overrides FormInput.blur
+Makes the input element blur.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/disabled.html b/api/pl.treksoft.kvision.form.range/-range-input/disabled.html new file mode 100644 index 00000000..5e9cefdd --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/disabled.html @@ -0,0 +1,22 @@ + + + +open var disabled: Boolean
+Overrides FormInput.disabled
+Determines if the field is disabled.
+Getter
+
Determines if the field is disabled.
+ +Setter
+
Determines if the field is disabled.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/focus.html b/api/pl.treksoft.kvision.form.range/-range-input/focus.html new file mode 100644 index 00000000..bbf19665 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/focus.html @@ -0,0 +1,16 @@ + + + +open fun focus(): Unit
+Overrides FormInput.focus
+Makes the input element focused.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/get-sn-attrs.html b/api/pl.treksoft.kvision.form.range/-range-input/get-sn-attrs.html new file mode 100644 index 00000000..c39bab95 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/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 getValueAsString(): String?
+Returns the value of the spinner as a String.
+Return
+value as a String
open class RangeInput : Widget, FormInput
+Range input component.
++ + | +
+RangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf()) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the range input is automatically focused. + |
+
+ + | +
+open var disabled: Boolean
+Determines if the field is disabled. + |
+
+ + | +
+var max: Number
+Maximal value. + |
+
+ + | +
+var min: Number
+Minimal value. + |
+
+ + | +
+open var name: String?
+The name attribute of the generated HTML input element. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the range input is read-only. + |
+
+ + | +
+open var size: InputSize?
+The size of the input. + |
+
+ + | +
+var startValue: Number?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var step: Number
+Step value. + |
+
+ + | +
+open var validationStatus: ValidationStatus?
+The validation status of the input. + |
+
+ + | +
+var value: Number?
+Range input value. + |
+
+ + | +
+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 tabindex: Int?
+A tabindex attribute of generated HTML element. + |
+
+ + | +
+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 afterInsert(node: VNode): Unit
+Method called after inserting Snabbdom vnode into the DOM. + |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+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. + |
+
+ + | +
+fun getValueAsString(): String?
+Returns the value of the spinner as a String. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun stepDown(): RangeInput
+Change value in minus. + |
+
+ + | +
+open fun stepUp(): RangeInput
+Change value in plus. + |
+
+ + | +
+open fun addCssClass(css: String): Widget
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
+ + | +
+open fun addCssStyle(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 addSurroundingCssStyle(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 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 removeCssStyle(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 removeSurroundingCssStyle(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 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
+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 Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
+ + | +
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
+ + | +
+fun Component.addBsClearfix(): Unit |
+
+ + | +
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
+ + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
+ + | +
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget |
+
+ + | +
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit |
+
+ + | +
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit |
+
+ + | +
+fun Component.removeBsClearfix(): Unit |
+
+ + | +
+fun Component.removeBsColor(bsColor: BsColor): Unit |
+
+ + | +
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit |
+
+ + | +
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+DSL builder extension function. + |
+
var max: Number
+Maximal value.
+Getter
+
Maximal value.
+ +Setter
+
Maximal value.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/min.html b/api/pl.treksoft.kvision.form.range/-range-input/min.html new file mode 100644 index 00000000..3dd21582 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/min.html @@ -0,0 +1,21 @@ + + + +var min: Number
+Minimal value.
+Getter
+
Minimal value.
+ +Setter
+
Minimal value.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/name.html b/api/pl.treksoft.kvision.form.range/-range-input/name.html new file mode 100644 index 00000000..de5db781 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/name.html @@ -0,0 +1,22 @@ + + + +open var name: String?
+Overrides FormInput.name
+The name attribute of the generated HTML input element.
+Getter
+
The name attribute of the generated HTML input element.
+ +Setter
+
The name attribute of the generated HTML input element.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/readonly.html b/api/pl.treksoft.kvision.form.range/-range-input/readonly.html new file mode 100644 index 00000000..e5ebc48c --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/readonly.html @@ -0,0 +1,21 @@ + + + +var readonly: Boolean?
+Determines if the range input is read-only.
+Getter
+
Determines if the range input is read-only.
+ +Setter
+
Determines if the range input is read-only.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/render.html b/api/pl.treksoft.kvision.form.range/-range-input/render.html new file mode 100644 index 00000000..a3a6aba7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/render.html @@ -0,0 +1,18 @@ + + + +protected open fun render(): VNode
+Overrides Widget.render
+Renders current component as a Snabbdom vnode.
+Return
+Snabbdom vnode
open var size: InputSize?
+Overrides FormInput.size
+The size of the input.
+Getter
+
The size of the input.
+ +Setter
+
The size of the input.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/start-value.html b/api/pl.treksoft.kvision.form.range/-range-input/start-value.html new file mode 100644 index 00000000..3c70ba01 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/start-value.html @@ -0,0 +1,27 @@ + + + +var startValue: Number?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the range input value.
+Getter
+
The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the range input value.
+ +Setter
+
The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the range input value.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/step-down.html b/api/pl.treksoft.kvision.form.range/-range-input/step-down.html new file mode 100644 index 00000000..3e366e77 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/step-down.html @@ -0,0 +1,15 @@ + + + +open fun stepDown(): RangeInput
+Change value in minus.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/step-up.html b/api/pl.treksoft.kvision.form.range/-range-input/step-up.html new file mode 100644 index 00000000..dbc805b7 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/step-up.html @@ -0,0 +1,15 @@ + + + +open fun stepUp(): RangeInput
+Change value in plus.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/step.html b/api/pl.treksoft.kvision.form.range/-range-input/step.html new file mode 100644 index 00000000..fb675f24 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/step.html @@ -0,0 +1,21 @@ + + + +var step: Number
+Step value.
+Getter
+
Step value.
+ +Setter
+
Step value.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/validation-status.html b/api/pl.treksoft.kvision.form.range/-range-input/validation-status.html new file mode 100644 index 00000000..3abb58f6 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/validation-status.html @@ -0,0 +1,22 @@ + + + +open var validationStatus: ValidationStatus?
+Overrides FormInput.validationStatus
+The validation status of the input.
+Getter
+
The validation status of the input.
+ +Setter
+
The validation status of the input.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range-input/value.html b/api/pl.treksoft.kvision.form.range/-range-input/value.html new file mode 100644 index 00000000..2d983144 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range-input/value.html @@ -0,0 +1,21 @@ + + + +var value: Number?
+Range input value.
+Getter
+
Range input value.
+ +Setter
+
Range input value.
+ + + diff --git a/api/pl.treksoft.kvision.form.range/-range/-init-.html b/api/pl.treksoft.kvision.form.range/-range/-init-.html new file mode 100644 index 00000000..6a050b70 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/-init-.html @@ -0,0 +1,31 @@ + + + +Range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false)
+
+name
- the name attribute of the generated HTML input element
+min
- minimal value (default 0)
+max
- maximal value (default 100)
+step
- step value (default 1)
+label
- label text bound to the input element
+rich
- determines if label can contain HTML code
Constructor
+
var autofocus: Boolean?
+Determines if the text input is automatically focused.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/blur.html b/api/pl.treksoft.kvision.form.range/-range/blur.html new file mode 100644 index 00000000..0ef45ca5 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/blur.html @@ -0,0 +1,16 @@ + + + +open fun blur(): Unit
+Overrides FormControl.blur
+Makes the input element blur.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/flabel.html b/api/pl.treksoft.kvision.form.range/-range/flabel.html new file mode 100644 index 00000000..a5a20b3b --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/flabel.html @@ -0,0 +1,16 @@ + + + +val flabel: FieldLabel
+Overrides FormControl.flabel
+Form field label.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/focus.html b/api/pl.treksoft.kvision.form.range/-range/focus.html new file mode 100644 index 00000000..53ac1757 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/focus.html @@ -0,0 +1,16 @@ + + + +open fun focus(): Unit
+Overrides FormControl.focus
+Makes the input element focused.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/get-sn-class.html b/api/pl.treksoft.kvision.form.range/-range/get-sn-class.html new file mode 100644 index 00000000..b259af93 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/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 fun getValueAsString(): String?
+Overrides NumberFormControl.getValueAsString
+Returns the value of the control as a String.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/idc.html b/api/pl.treksoft.kvision.form.range/-range/idc.html new file mode 100644 index 00000000..1b83c3c2 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/idc.html @@ -0,0 +1,14 @@ + + + +protected val idc: String
+
+
diff --git a/api/pl.treksoft.kvision.form.range/-range/index.html b/api/pl.treksoft.kvision.form.range/-range/index.html
new file mode 100644
index 00000000..885767a6
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.range/-range/index.html
@@ -0,0 +1,1203 @@
+
+
+
+open class Range : SimplePanel, NumberFormControl
+The form field component for range input control.
++ + | +
+Range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false) |
+
+ + | +
+var autofocus: Boolean?
+Determines if the text input is automatically focused. + |
+
+ + | +
+val flabel: FieldLabel
+Form field label. + |
+
+ + | +
+val idc: String |
+
+ + | +
+val input: RangeInput
+The actual input component. + |
+
+ + | +
+val invalidFeedback: InvalidFeedback
+Invalid feedback component. + |
+
+ + | +
+var label: String?
+The label text bound to the range input element. + |
+
+ + | +
+var max: Number
+Maximal value. + |
+
+ + | +
+var min: Number
+Minimal value. + |
+
+ + | +
+var readonly: Boolean?
+Determines if the range input is read-only. + |
+
+ + | +
+var rich: Boolean
+Determines if label can contain HTML code. + |
+
+ + | +
+var startValue: Number?
+The value attribute of the generated HTML input element. + |
+
+ + | +
+var step: Number
+Step value. + |
+
+ + | +
+open var validatorError: String?
+Validator error message. + |
+
+ + | +
+open var value: Number?
+Range input value. + |
+
+ + | +
+val children: MutableList<Component> |
+
+ + | +
+open fun blur(): Unit
+Makes the input element blur. + |
+
+ + | +
+open fun focus(): Unit
+Makes the input element focused. + |
+
+ + | +
+open fun getSnClass(): List<StringBoolPair>
+Returns list of CSS class names for current widget in the form of a List. + |
+
+ + | +
+open fun getValueAsString(): String?
+Returns the value of the control as a String. + |
+
+ + | +
+open fun removeEventListeners(): Widget
+Removes all event listeners from current widget. + |
+
+ + | +
+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
+Sets an event listener for current widget. + |
+
+ + | +
+open fun stepDown(): Range
+Change value in minus. + |
+
+ + | +
+open fun stepUp(): Range
+Change value in plus. + |
+
+ + | +
+open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
+Style form control element for horizontal form panel. + |
+
+ + | +
+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 getValue(): Number?
+Returns the value of the control. + |
+
+ + | +
+open fun remove(child: Component): SimplePanel
+Removes given component from the current container. + |
+
+ + | +
+open fun removeAll(): SimplePanel
+Removes all children from the current container. + |
+
+ + | +
+open fun render(): VNode
+Renders current component as a Snabbdom vnode. + |
+
+ + | +
+open fun setValue(v: Any?): Unit
+Sets the value of the control. + |
+
+ + | +
+fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit |
+
+ + | +
+fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit |
+
+ + | +
+fun Component.addBsClearfix(): Unit |
+
+ + | +
+fun Component.addBsColor(bsColor: BsColor): Unit |
+
+ + | +
+fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit |
+
+ + | +
+fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
+DSL builder extension function. + |
+
+ + | +
+fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
+DSL builder extension function. + |
+
+ + | +
+fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
+DSL builder extension function. + |
+
+ + | +
+fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
+DSL builder extension function. + |
+
+ + | +
+fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
+DSL builder extension function. + |
+
+ + | +
+fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
+DSL builder extension function. + |
+
+ + | +
+fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
+DSL builder extension function. + |
+
+ + | +
+fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu
+DSL builder extension function. + |
+
+ + | +
+fun <T> Any?.createInstance(vararg args: dynamic): T
+Helper function for creating JavaScript objects from dynamic constructors. + |
+
+ + | +
+fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: Container.(M, Int, MutableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>
+DSL builder extension function. +fun <M, C : Component> Container.dataContainer(model: MutableList<M>, factory: Container.(M, Int, MutableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>
+DSL builder extension function with VPanel default. + |
+
+ + | +
+fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: (DateTime.() -> Unit)? = null): DateTime
+DSL builder extension function. + |
+
+ + | +
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput
+DSL builder extension function. + |
+
+ + | +
+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 Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, : Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
+DSL builder extension function. + |
+
+ + | +
+fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
+DSL builder extension function. + |
+
+ + | +
+fun Container.fieldsetPanel(legend: String? = null, classes: Set<String> = setOf(), init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null): Footer
+DSL builder extension function. + |
+
+ + | +
+fun <K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+DSL builder extension function. + |
+
+ + | +
+fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
+DSL builder extension function. + |
+
+ + | +
+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 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 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 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 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 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 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 Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
+DSL builder extension function. + |
+
+ + | +
+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 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 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 Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag
+DSL builder extension function. + |
+
+ + | +
+fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Main.() -> Unit)? = null): Main
+DSL builder extension function. + |
+
+ + | +
+fun Container.navbar(: String? = null, : String? = null, : NavbarType? = null, : NavbarExpand? = NavbarExpand.LG, : NavbarColor = NavbarColor.LIGHT, : BsBgColor = BsBgColor.LIGHT, : Set<String> = setOf(), : (Navbar.() -> Unit)? = null): Navbar
+DSL builder extension function. + |
+
+ + | +
+fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget |
+
+ + | +
+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 Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password
+DSL builder extension function. + |
+
+ + | +
+fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar
+DSL builder extension function. + |
+
+ + | +
+fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio
+DSL builder extension function. + |
+
+ + | +
+fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: (RadioGroup.() -> Unit)? = null): RadioGroup
+DSL builder extension function. + |
+
+ + | +
+fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: (Range.() -> Unit)? = null): Range
+DSL builder extension function. + |
+
+ + | +
+fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput
+DSL builder extension function. + |
+
+ + | +
+fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit |
+
+ + | +
+fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit |
+
+ + | +
+fun Component.removeBsClearfix(): Unit |
+
+ + | +
+fun Component.removeBsColor(bsColor: BsColor): Unit |
+
+ + | +
+fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit |
+
+ + | +
+fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText
+DSL builder extension function. + |
+
+ + | +
+fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput
+DSL builder extension function. + |
+
+ + | +
+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 Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (Select.() -> Unit)? = null): Select
+DSL builder extension function. + |
+
+ + | +
+fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput
+DSL builder extension function. + |
+
+ + | +
+fun <T : Any> Container.selectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>
+DSL builder extension function. + |
+
+ + | +
+fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
+DSL builder extension function. + |
+
+ + | +
+fun Widget.setContextMenu(contextMenu: ContextMenu): Widget
+Sets context menu for the current widget. + |
+
+ + | +
+fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect
+DSL builder extension function. + |
+
+ + | +
+fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput
+DSL builder extension function. + |
+
+ + | +
+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 Container.spinner(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
+DSL builder extension function. + |
+
+ + | +
+fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel
+DSL builder extension function. + |
+
+ + | +
+fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit>
+DSL builder extension function. + |
+
+ + | +
+fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
+DSL builder extension function for updateable redux content. + |
+
+ + | +
+fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
+DSL builder extension function. + |
+
+ + | +
+fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), : String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
+DSL builder extension function. + |
+
+ + | +
+fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
+DSL builder extension function. + |
+
+ + | +
+fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+DSL builder extension function. +fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+DSL builder extension function for general redux store. +fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
+DSL builder extension function for dynamic data (send within options parameter). + |
+
+ + | +
+fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
+DSL builder extension function. + |
+
+ + | +
+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 Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text
+DSL builder extension function. + |
+
+ + | +
+fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TextArea.() -> Unit)? = null): TextArea
+DSL builder extension function. + |
+
+ + | +
+fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String> = setOf(), init: (Toolbar.() -> Unit)? = null): Toolbar
+DSL builder extension function. + |
+
+ + | +
+fun Container.typeahead(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Typeahead.() -> Unit)? = null): Typeahead
+DSL builder extension function. + |
+
+ + | +
+fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput
+DSL builder extension function. + |
+
+ + | +
+fun <T : Any> Container.typeaheadRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TypeaheadRemote<T>.() -> Unit)? = null): TypeaheadRemote<T>
+DSL builder extension function. + |
+
+ + | +
+fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T>
+DSL builder extension function. + |
+
+ + | +
+fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload
+DSL builder extension function. + |
+
+ + | +
+fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
+DSL builder extension function. + |
+
+ + | +
+fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel
+DSL builder extension function. + |
+
+ + | +
+fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget
+DSL builder extension function. + |
+
+ + | +
+fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper
+DSL builder extension function. + |
+
+ + | +
+fun Container.window(: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window
+DSL builder extension function. + |
+
val input: RangeInput
+Overrides FormControl.input
+The actual input component.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/invalid-feedback.html b/api/pl.treksoft.kvision.form.range/-range/invalid-feedback.html new file mode 100644 index 00000000..2a3afeab --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/invalid-feedback.html @@ -0,0 +1,16 @@ + + + +val invalidFeedback: InvalidFeedback
+Overrides FormControl.invalidFeedback
+Invalid feedback component.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/label.html b/api/pl.treksoft.kvision.form.range/-range/label.html new file mode 100644 index 00000000..d2266856 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/label.html @@ -0,0 +1,15 @@ + + + +var label: String?
+The label text bound to the range input element.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/max.html b/api/pl.treksoft.kvision.form.range/-range/max.html new file mode 100644 index 00000000..3d69625d --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/max.html @@ -0,0 +1,15 @@ + + + +var max: Number
+Maximal value.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/min.html b/api/pl.treksoft.kvision.form.range/-range/min.html new file mode 100644 index 00000000..0ec9771e --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/min.html @@ -0,0 +1,15 @@ + + + +var min: Number
+Minimal value.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/readonly.html b/api/pl.treksoft.kvision.form.range/-range/readonly.html new file mode 100644 index 00000000..77f7ad35 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/readonly.html @@ -0,0 +1,15 @@ + + + +var readonly: Boolean?
+Determines if the range input is read-only.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/remove-event-listeners.html b/api/pl.treksoft.kvision.form.range/-range/remove-event-listeners.html new file mode 100644 index 00000000..98bec115 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/remove-event-listeners.html @@ -0,0 +1,18 @@ + + + +open fun removeEventListeners(): Widget
+Overrides Widget.removeEventListeners
+Removes all event listeners from current widget.
+Return
+current widget
var rich: Boolean
+Determines if label can contain HTML code.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/set-event-listener.html b/api/pl.treksoft.kvision.form.range/-range/set-event-listener.html new file mode 100644 index 00000000..127e0e36 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/set-event-listener.html @@ -0,0 +1,57 @@ + + + +open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget, keeping the actual type of component.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener<Button> {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Button here
+ }
+ }
+
+open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
+Overrides Widget.setEventListener
+Sets an event listener for current widget.
+Return
+
current widget
+ + +Example:
+ + + button.setEventListener {
+ dblclick = {
+ Alert.show("Button double clicked!")
+ // self is of type Widget here
+ }
+ }
+
+
diff --git a/api/pl.treksoft.kvision.form.range/-range/start-value.html b/api/pl.treksoft.kvision.form.range/-range/start-value.html
new file mode 100644
index 00000000..fb564c63
--- /dev/null
+++ b/api/pl.treksoft.kvision.form.range/-range/start-value.html
@@ -0,0 +1,17 @@
+
+
+
+var startValue: Number?
+The value attribute of the generated HTML input element.
+This value is placed directly in generated HTML code, while the value property is dynamically +bound to the range input value.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/step-down.html b/api/pl.treksoft.kvision.form.range/-range/step-down.html new file mode 100644 index 00000000..bcc89d25 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/step-down.html @@ -0,0 +1,15 @@ + + + +open fun stepDown(): Range
+Change value in minus.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/step-up.html b/api/pl.treksoft.kvision.form.range/-range/step-up.html new file mode 100644 index 00000000..a9a47654 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/step-up.html @@ -0,0 +1,15 @@ + + + +open fun stepUp(): Range
+Change value in plus.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/step.html b/api/pl.treksoft.kvision.form.range/-range/step.html new file mode 100644 index 00000000..af800102 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/step.html @@ -0,0 +1,15 @@ + + + +var step: Number
+Step value.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/style-for-horizontal-form-panel.html b/api/pl.treksoft.kvision.form.range/-range/style-for-horizontal-form-panel.html new file mode 100644 index 00000000..57750a4c --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/style-for-horizontal-form-panel.html @@ -0,0 +1,16 @@ + + + +open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
+Overrides FormControl.styleForHorizontalFormPanel
+Style form control element for horizontal form panel.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/validator-error.html b/api/pl.treksoft.kvision.form.range/-range/validator-error.html new file mode 100644 index 00000000..51356449 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/validator-error.html @@ -0,0 +1,16 @@ + + + +open var validatorError: String?
+Overrides FormControl.validatorError
+Validator error message.
+ + diff --git a/api/pl.treksoft.kvision.form.range/-range/value.html b/api/pl.treksoft.kvision.form.range/-range/value.html new file mode 100644 index 00000000..9d30dcb9 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/-range/value.html @@ -0,0 +1,16 @@ + + + +open var value: Number?
+Overrides NumberFormControl.value
+Range input value.
+ + diff --git a/api/pl.treksoft.kvision.form.range/index.html b/api/pl.treksoft.kvision.form.range/index.html new file mode 100644 index 00000000..fb7f1154 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/index.html @@ -0,0 +1,58 @@ + + + ++ + | +
+open class Range : SimplePanel, NumberFormControl
+The form field component for range input control. + |
+
+ + | +
+open class RangeInput : Widget, FormInput
+Range input component. + |
+
+ + | +
+fun Container.range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: (Range.() -> Unit)? = null): Range
+DSL builder extension function. + |
+
+ + | +
+fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput
+DSL builder extension function. + |
+
fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + diff --git a/api/pl.treksoft.kvision.form.range/range.html b/api/pl.treksoft.kvision.form.range/range.html new file mode 100644 index 00000000..10388a75 --- /dev/null +++ b/api/pl.treksoft.kvision.form.range/range.html @@ -0,0 +1,16 @@ + + + +fun Container.range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: (Range.() -> Unit)? = null): Range
+DSL builder extension function.
+It takes the same parameters as the constructor of the built component.
+ + -- cgit