OnsNumber

open class OnsNumber(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsNumber.() -> Unit? = null) : SimplePanel, NumberFormControl, MutableState<Number?>

Onsen UI form field number component.

Parameters

value

number input value

min

minimal value

max

maximal value

step

step value (default 1)

placeholder

the placeholder for the number input

floatLabel

whether the placeholder will be animated in Material Design

name

the name attribute of the generated HTML input element

label

label text bound to the input element

rich

determines if label can contain HTML code

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
constructor(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsNumber.() -> Unit? = null)

Creates a form field number component.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

CSS flexbox/grid content alignment.

Link copied to clipboard

CSS flexbox/grid items alignment.

Link copied to clipboard

CSS flexbox items self-alignment.

Link copied to clipboard

Determines if autocomplete is enabled for the input element.

Link copied to clipboard

Determines if the number input is automatically focused.

Link copied to clipboard

Background of the current component.

Link copied to clipboard
open var border: Border?

Border of the current component.

Link copied to clipboard
open var borderBottom: Border?

Bottom border of the current component.

Link copied to clipboard
open var borderLeft: Border?

Left border of the current component.

Link copied to clipboard
open var borderRadius: <Error class: unknown class><Number, UNIT>?

CSS border radius.

Link copied to clipboard
open var borderRadiusList: List<<Error class: unknown class><Number, UNIT>>?

List of CSS border radius values.

Link copied to clipboard
open var borderRight: Border?

Right border of the current component.

Link copied to clipboard
open var borderTop: Border?

Top border of the current component.

Link copied to clipboard
open var bottom: <Error class: unknown class><Number, UNIT>?

Bottom edge of the current component.

Link copied to clipboard
open var boxShadow: BoxShadow?

Box shadow of the current component.

Link copied to clipboard

List of box shadows of the current component.

Link copied to clipboard
open var clear: Clear?

CSS clear float of the current component.

Link copied to clipboard
open var color: Color?

Text color for the current component.

Link copied to clipboard
open var colorHex: Int?

Text color for the current component given in hex format (write only).

Link copied to clipboard
open var colorName: Col?

Text color for the current component given with named constant (write only).

Link copied to clipboard
open var cursor: Cursor?

CSS cursor shape over the current component.

Link copied to clipboard
open var disabled: Boolean

Determines if the field is disabled.

Link copied to clipboard
open var display: Display?

CSS display of the current component.

Link copied to clipboard

Determines if the current widget is draggable.

Link copied to clipboard
Link copied to clipboard
override val flabel: FieldLabel

Form field label.

Link copied to clipboard
open var flexBasis: <Error class: unknown class><Number, UNIT>?

CSS flexbox item basis.

Link copied to clipboard

CSS flexbox direction.

Link copied to clipboard
open var flexGrow: Int?

CSS flexbox item grow.

Link copied to clipboard
open var flexShrink: Int?

CSS flexbox item shrink.

Link copied to clipboard
open var flexWrap: FlexWrap?

CSS flexbox wrap mode.

Link copied to clipboard
open var float: PosFloat?

CSS position float of the current component.

Link copied to clipboard

Whether the placeholder will be animated in Material Design.

Link copied to clipboard
open var fontFamily: String?

CSS font family of the current component.

Link copied to clipboard
open var fontSize: <Error class: unknown class><Number, UNIT>?

CSS font size of the current component.

Link copied to clipboard
open var fontStyle: FontStyle?

CSS font style of the current component.

Link copied to clipboard

CSS font variant of the current component.

Link copied to clipboard

CSS font weight of the current component.

Link copied to clipboard
open var gridArea: String?

CSS grid area.

Link copied to clipboard

CSS grid auto columns.

Link copied to clipboard

CSS grid auto flow.

Link copied to clipboard
open var gridAutoRows: String?

CSS grid auto rows.

Link copied to clipboard

CSS grid column end.

Link copied to clipboard
open var gridColumnGap: Int?

CSS grid column gap.

Link copied to clipboard
open var gridColumnStart: Int?

CSS grid column start.

Link copied to clipboard
open var gridRowEnd: String?

CSS grid row end.

Link copied to clipboard
open var gridRowGap: Int?

CSS grid row gap.

Link copied to clipboard
open var gridRowStart: Int?

CSS grid row start.

Link copied to clipboard

CSS grid areas template.

Link copied to clipboard

CSS grid columns template.

Link copied to clipboard

CSS grid rows template.

Link copied to clipboard
open var height: <Error class: unknown class><Number, UNIT>?

Height of the current component.

Link copied to clipboard
var id: String?

An ID attribute of generated HTML element.

Link copied to clipboard
override val input: OnsNumberInput

The actual input component.

Link copied to clipboard

Invalid feedback component.

Link copied to clipboard

CSS flexbox/grid content justification.

Link copied to clipboard

CSS grid items justification.

Link copied to clipboard

CSS grid items self-justification.

Link copied to clipboard
var kvscope: dynamic
Link copied to clipboard

The label text bound to the number input element.

Link copied to clipboard
open var left: <Error class: unknown class><Number, UNIT>?

Left edge of the current component.

Link copied to clipboard
open var letterSpacing: <Error class: unknown class><Number, UNIT>?

CSS Text letter spacing of the current component.

Link copied to clipboard
open var lineBreak: LineBreak?

CSS line break of the current component.

Link copied to clipboard
open var lineHeight: <Error class: unknown class><Number, UNIT>?

CSS Text line height of the current component.

Link copied to clipboard
open var listStyle: ListStyle?

List style of the current component.

Link copied to clipboard
open var margin: <Error class: unknown class><Number, UNIT>?

Margin of the current component.

Link copied to clipboard
open var marginBottom: <Error class: unknown class><Number, UNIT>?

Bottom margin of the current component.

Link copied to clipboard
open var marginLeft: <Error class: unknown class><Number, UNIT>?

Left margin of the current component.

Link copied to clipboard
open var marginRight: <Error class: unknown class><Number, UNIT>?

Right margin of the current component.

Link copied to clipboard
open var marginTop: <Error class: unknown class><Number, UNIT>?

Top margin of the current component.

Link copied to clipboard
var max: Number?

Maximal value.

Link copied to clipboard
open var maxHeight: <Error class: unknown class><Number, UNIT>?

Maximal height of the current component.

Link copied to clipboard
open var maxWidth: <Error class: unknown class><Number, UNIT>?

Maximal width of the current component.

Link copied to clipboard
var min: Number?

Minimal value.

Link copied to clipboard
open var minHeight: <Error class: unknown class><Number, UNIT>?

Minimal height of the current component.

Link copied to clipboard
open var minWidth: <Error class: unknown class><Number, UNIT>?

Minimal width of the current component.

Link copied to clipboard

A modifier attribute to specify custom styles.

Link copied to clipboard
val <S> MutableState<S>.mutableStateFlow: <Error class: unknown class><S>

Extension property returning a MutableStateFlow for a MutableState.

Link copied to clipboard
open var name: String?

The name attribute of the generated HTML input element.

Link copied to clipboard
open var opacity: Double?

Opacity of the current component.

Link copied to clipboard
open var order: Int?

CSS flexbox item order.

Link copied to clipboard
open var outline: Outline?

Outline of the current component.

Link copied to clipboard
open var overflow: Overflow?

CSS overflow of the current component.

Link copied to clipboard

CSS overflow-wrap of the current component.

Link copied to clipboard
open var overflowX: Overflow?

CSS overflow-x of the current component.

Link copied to clipboard
open var overflowY: Overflow?

CSS overflow-y of the current component.

Link copied to clipboard
open var padding: <Error class: unknown class><Number, UNIT>?

Padding of the current component.

Link copied to clipboard
open var paddingBottom: <Error class: unknown class><Number, UNIT>?

Bottom padding of the current component.

Link copied to clipboard
open var paddingLeft: <Error class: unknown class><Number, UNIT>?

Left padding of the current component.

Link copied to clipboard
open var paddingRight: <Error class: unknown class><Number, UNIT>?

Right padding of the current component.

Link copied to clipboard
open var paddingTop: <Error class: unknown class><Number, UNIT>?

Top padding of the current component.

Link copied to clipboard
open override var parent: Container?

Parent of the current component.

Link copied to clipboard

The placeholder for the number input.

Link copied to clipboard
Link copied to clipboard
var popoverOptions: dynamic
Link copied to clipboard
open var position: Position?

CSS position of the current component.

Link copied to clipboard

Determines if the number input is read-only.

Link copied to clipboard
open var resize: Resize?

CSS resize of the current component.

Link copied to clipboard

Determines if label can contain HTML code.

Link copied to clipboard
open var right: <Error class: unknown class><Number, UNIT>?

Right edge of the current component.

Link copied to clipboard
var role: String?

A role attribute of generated HTML element.

Link copied to clipboard
open var size: InputSize?

Input control field size.

Link copied to clipboard

The value attribute of the generated HTML input element.

Link copied to clipboard
val <S> ObservableState<S>.stateFlow: <Error class: unknown class><S>

Extension property returning a StateFlow for an ObservableState.

Link copied to clipboard

Step value.

Link copied to clipboard

A tabindex attribute of generated HTML element.

Link copied to clipboard
open var textAlign: TextAlign?

CSS Text align of the current component.

Link copied to clipboard

CSS Text decoration of the current component.

Link copied to clipboard

CSS Text direction of the current component.

Link copied to clipboard
open var textIndent: <Error class: unknown class><Number, UNIT>?

CSS Text indent of the current component.

Link copied to clipboard

CSS Text overflow of the current component.

Link copied to clipboard

CSS Text shadow of the current component.

Link copied to clipboard

CSS Text transform of the current component.

Link copied to clipboard

A title attribute of generated HTML element.

Link copied to clipboard
Link copied to clipboard
var tooltipOptions: dynamic
Link copied to clipboard
open var top: <Error class: unknown class><Number, UNIT>?

Top edge of the current component.

Link copied to clipboard

CSS transition effect for the current component.

Link copied to clipboard

List of CSS transition effects for the current component.

Link copied to clipboard

CSS Text unicode-bidi of the current component.

Link copied to clipboard

Input control validation status.

Link copied to clipboard

Validator error message.

Link copied to clipboard
open override var value: Number?

Number input value.

Link copied to clipboard

CSS Text vertical align of the current component.

Link copied to clipboard
open override var visible: Boolean

Visibility state of the current component.

Link copied to clipboard

CSS Text white space of the current component.

Link copied to clipboard
open var width: <Error class: unknown class><Number, UNIT>?

Width of the current component.

Link copied to clipboard
open var wordBreak: WordBreak?

CSS word break of the current component.

Link copied to clipboard
open var wordSpacing: <Error class: unknown class><Number, UNIT>?

CSS Text word spacing of the current component.

Link copied to clipboard
open var zIndex: Int?

Z-index of the current component.

Functions

Link copied to clipboard
fun Container.actionSheet(actionSheetTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: ActionSheet.() -> Unit? = null): ActionSheet

DSL builder extension function.

Link copied to clipboard
open override fun add(child: Component)

Adds given component to the current container.

open override fun add(position: Int, child: Component)

Adds given component to the current container at the given position.

Link copied to clipboard
open override fun addAfterCreateHook(hook: (VNode) -> Unit): <Error class: unknown class>

The supplied function is called after the widget DOM element is created.

Link copied to clipboard
open override fun addAfterDestroyHook(hook: () -> Unit): <Error class: unknown class>

The supplied function is called after the widget is removed from the DOM.

Link copied to clipboard
open override fun addAfterInsertHook(hook: (VNode) -> Unit): <Error class: unknown class>

The supplied function is called after the widget is inserted into the DOM.

Link copied to clipboard
open override fun addAll(children: List<Component>)

Adds a list of components to the current container.

Link copied to clipboard
open override fun addBeforeDisposeHook(hook: () -> Unit): <Error class: unknown class>

The supplied function is called before the widget is disposed.

Link copied to clipboard
Link copied to clipboard
fun Component.addBsBorder(vararg bsBorder: BsBorder)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Component.addBsRounded(vararg bsRounded: BsRounded)
Link copied to clipboard
open override fun addCssClass(css: String)

Adds given value to the set of CSS classes generated in html code of current component.

Link copied to clipboard
open override fun addCssStyle(css: Style)

Adds given style object to the set of CSS classes generated in html code of current component.

Link copied to clipboard
fun Container.address(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Address.() -> Unit? = null): Address

DSL builder extension function.

Link copied to clipboard
open override fun addSurroundingCssClass(css: String)

Adds given value to the set of CSS classes generated in html code of parent component.

Link copied to clipboard
open override fun addSurroundingCssStyle(css: Style)

Adds given style object to the set of CSS classes generated in html code of parent component.

Link copied to clipboard
fun Container.alertDialog(dialogTitle: String? = null, cancelable: Boolean? = null, animation: Boolean? = null, rowfooter: Boolean? = null, className: String? = null, init: AlertDialog.() -> Unit? = null): AlertDialog

DSL builder extension function.

Link copied to clipboard
fun Widget.animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null, styles: StyledComponent.() -> Unit)

Animate the widget changing CSS properties.

Link copied to clipboard
fun Container.article(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Article.() -> Unit? = null): Article

DSL builder extension function.

Link copied to clipboard
fun Container.b(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: B.() -> Unit? = null): B

DSL builder extension function.

Link copied to clipboard
fun Container.badge(content: String? = null, bsColor: BsColor = BsColor.SECONDARYBG, rounded: Boolean = false, position: BadgePosition? = null, init: Badge.() -> Unit = {}): <Error class: unknown class>

DSL builder extension function.

Link copied to clipboard
open override fun blur()

Makes the element blur.

Link copied to clipboard
fun Container.bootstrapUpload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: BootstrapUpload.() -> Unit? = null): BootstrapUpload

DSL builder extension function.

Link copied to clipboard
fun Container.bootstrapUploadInput(uploadUrl: String? = null, multiple: Boolean = false, className: String? = null, init: BootstrapUploadInput.() -> Unit? = null): BootstrapUploadInput

DSL builder extension function.

Link copied to clipboard
fun Container.br(className: String? = null, init: Br.() -> Unit? = null): Br

DSL builder extension function.

Link copied to clipboard
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, className: String? = null, init: Button.() -> Unit? = null): Button

DSL builder extension function.

Link copied to clipboard
fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, className: String? = null, init: ButtonGroup.() -> Unit? = null): ButtonGroup

DSL builder extension function.

Link copied to clipboard
fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, className: String? = null, init: Canvas.() -> Unit? = null): Canvas

DSL builder extension function.

Link copied to clipboard
fun Container.card(className: String? = null, init: Card.() -> Unit? = null): Card

DSL builder extension function.

Link copied to clipboard
fun Container.carousel(direction: CarouselDirection? = null, fullscreen: Boolean? = null, overscrollable: Boolean? = null, autoScroll: Boolean? = null, animation: Boolean? = null, swipeable: Boolean? = null, initialIndex: Int? = null, className: String? = null, init: Carousel.() -> Unit? = null): Carousel

DSL builder extension function.

Link copied to clipboard
fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, className: String? = null, init: Chart.() -> Unit? = null): Chart

DSL builder extension function.

Link copied to clipboard
fun Container.checkBox(value: Boolean = false, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit? = null): CheckBox

DSL builder extension function.

Link copied to clipboard
fun Container.checkBoxInput(value: Boolean = false, className: String? = null, init: CheckBoxInput.() -> Unit? = null): CheckBoxInput

DSL builder extension function.

Link copied to clipboard
open override fun clearAfterCreateHooks()

Remove all after create hooks functions.

Link copied to clipboard
open override fun clearAfterDestroyHooks()

Remove all after destroy hooks functions.

Link copied to clipboard
open override fun clearAfterInsertHooks()

Remove all after insert hooks functions.

Link copied to clipboard
open override fun clearBeforeDisposeHooks()

Remove all before dispose hooks functions.

Link copied to clipboard

Clears D&D data for the current widget. It also makes it not draggable.

Link copied to clipboard
fun Container.code(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Code.() -> Unit? = null): Code

DSL builder extension function.

Link copied to clipboard
fun Container.collapse(id: String, groupId: String? = null, horizontal: Boolean = false, opened: Boolean = false, init: Collapse.() -> Unit): <Error class: unknown class>

DSL builder extension function. It takes the same parameters as the constructor of the built component.

Link copied to clipboard
fun Widget.contextMenu(fixedPosition: Boolean = false, className: String? = null, init: ContextMenu.() -> Unit? = null): ContextMenu

DSL builder extension function.

Link copied to clipboard
fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, attributes: Map<String, String>? = null, init: CustomTag.() -> Unit? = null): CustomTag

DSL builder extension function.

Link copied to clipboard
fun Container.dateTime(value: <Error class: unknown class>? = 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.

Link copied to clipboard
fun Container.dateTimeInput(value: <Error class: unknown class>? = null, format: String = "YYYY-MM-DD HH:mm", className: String? = null, init: DateTimeInput.() -> Unit? = null): DateTimeInput

DSL builder extension function.

Link copied to clipboard
fun Container.dialog(cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Dialog.() -> Unit? = null): Dialog

DSL builder extension function.

Link copied to clipboard

Disables popover for the current widget.

Link copied to clipboard

Disables tooltip for the current widget.

Link copied to clipboard
open fun dispatchEvent(type: String, eventInitDict: <Error class: unknown class>): Boolean?

Dispatches a custom event.

Link copied to clipboard
open override fun disposeAll()

Removes all children from the current container and disposes them.

Link copied to clipboard
fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Div.() -> Unit? = null): Div

DSL builder extension function.

Link copied to clipboard
fun Container.dockPanel(className: String? = null, init: DockPanel.() -> Unit? = null): DockPanel

DSL builder extension function.

Link copied to clipboard
fun Container.dropDown(text: String, elements: List<<Error class: unknown class><String, String>>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, dark: Boolean = false, rightAligned: Boolean = false, autoClose: AutoClose = AutoClose.TRUE, arrowVisible: Boolean = true, className: String? = null, init: DropDown.() -> Unit? = null): DropDown

DSL builder extension function.

Link copied to clipboard
fun Container.em(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Em.() -> Unit? = null): Em

DSL builder extension function.

Link copied to clipboard

Enable gesture detector for a given Widget.

Link copied to clipboard
fun Widget.enablePopover(options: PopoverOptions = PopoverOptions())

Enables popover for the current widget.

Link copied to clipboard
fun Widget.enableTooltip(options: TooltipOptions = TooltipOptions())

Enables tooltip for the current widget.

Link copied to clipboard
fun Container.fab(icon: String? = null, floatPosition: FloatPosition? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: Fab.() -> Unit? = null): Fab

DSL builder extension function.

Link copied to clipboard
fun Widget.fadeIn(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Shows current widget with fade in effect.

Link copied to clipboard
fun Widget.fadeOut(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Hides current widget with fade out effect.

Link copied to clipboard
fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, className: String? = null, init: FieldLabel.() -> Unit? = null): FieldLabel

DSL builder extension function.

Link copied to clipboard
fun Container.fieldset(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Fieldset.() -> Unit? = null): Fieldset

DSL builder extension function.

Link copied to clipboard
fun Container.fieldsetPanel(legend: String? = null, className: String? = null, init: FieldsetPanel.() -> Unit? = null): FieldsetPanel

DSL builder extension function.

Link copied to clipboard
fun Container.figcaption(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Figcaption.() -> Unit? = null): Figcaption

DSL builder extension function.

Link copied to clipboard
fun Container.figure(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Figure.() -> Unit? = null): Figure

DSL builder extension function.

Link copied to clipboard
fun Container.flexPanel(direction: FlexDirection? = null, wrap: FlexWrap? = null, justify: JustifyContent? = null, alignItems: AlignItems? = null, alignContent: AlignContent? = null, spacing: Int? = null, useWrappers: Boolean = false, className: String? = null, init: FlexPanel.() -> Unit? = null): FlexPanel

DSL builder extension function.

Link copied to clipboard
open override fun focus()

Makes the element focused.

Link copied to clipboard
fun Container.footer(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Footer.() -> Unit? = null): Footer

DSL builder extension function.

Link copied to clipboard
fun Container.form(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, className: String? = null, init: FormPanel<Map<String, Any?>>.() -> Unit? = null): FormPanel<Map<String, Any?>>

DSL builder extension function.

Link copied to clipboard
inline 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, className: String? = null, customSerializers: Map<KClass<*>, <Error class: unknown class><out <Error class: unknown class>>>? = null, noinline init: FormPanel<K>.() -> Unit? = null): FormPanel<K>

DSL builder extension function.

Link copied to clipboard
fun <T> Container.genericRadioGroup(options: List<<Error class: unknown class><T, String>>? = null, value: T? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, toStr: (T) -> String = { it.toString() }, fromStr: (String) -> T? = { @Suppress("UNCHECKED_CAST") it as? T }, init: GenericRadioGroup<T>.() -> Unit? = null): GenericRadioGroup<T>

DSL builder extension function.

Link copied to clipboard
fun <T> Container.genericRadioGroupInput(options: List<<Error class: unknown class><T, String>>? = null, value: T? = null, name: String? = null, inline: Boolean = false, toStr: (T) -> String = { it.toString() }, fromStr: (String) -> T? = { @Suppress("UNCHECKED_CAST") it as? T }, init: GenericRadioGroupInput<T>.() -> Unit? = null): GenericRadioGroupInput<T>

DSL builder extension function.

Link copied to clipboard
open override fun getAttribute(name: String): String?

Returns the value of an additional attribute.

Link copied to clipboard
open override fun getChildren(): List<Component>

Returns a list of children of the current container.

Link copied to clipboard
open override fun getElement(): <Error class: unknown class>?

Returns DOM element bound to the current component.

Link copied to clipboard
open override fun getElementD(): dynamic

Returns DOM element bound to the current component as a dynamic type.

Link copied to clipboard
fun Component.getElementJQuery(): <Error class: unknown class>?

Returns JQuery element bound to the current component.

Link copied to clipboard

Returns JQuery element bound to the current component as a dynamic type.

Link copied to clipboard
open fun getSnStyle(): dynamic

Returns CSS style attributes.

Link copied to clipboard
open override fun getState(): Number?

Get current state.

Link copied to clipboard
fun getStyle(name: String): String?

Returns the value of a custom CSS style.

Link copied to clipboard
open override fun getValue(): Number?

Returns the value of the control.

Link copied to clipboard
open override fun getValueAsString(): String?

Returns the value of the control as a String.

Link copied to clipboard
fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridAutoFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: JustifyItems? = null, alignItems: AlignItems? = null, justifyContent: JustifyContent? = null, alignContent: AlignContent? = null, useWrappers: Boolean = false, className: String? = null, init: GridPanel.() -> Unit? = null): GridPanel

DSL builder extension function.

Link copied to clipboard
fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H1.() -> Unit? = null): H1

DSL builder extension function.

Link copied to clipboard
fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H2.() -> Unit? = null): H2

DSL builder extension function.

Link copied to clipboard
fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H3.() -> Unit? = null): H3

DSL builder extension function.

Link copied to clipboard
fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H4.() -> Unit? = null): H4

DSL builder extension function.

Link copied to clipboard
fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H5.() -> Unit? = null): H5

DSL builder extension function.

Link copied to clipboard
fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: H6.() -> Unit? = null): H6

DSL builder extension function.

Link copied to clipboard
open override fun hasCssClass(css: String): Boolean

Checks whether the given value is present in the set of CSS classes.

Link copied to clipboard
fun Container.header(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Header.() -> Unit? = null): Header

DSL builder extension function.

Link copied to clipboard
open fun hide()

Makes current widget invisible.

Link copied to clipboard
fun Widget.hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Hides current widget with animation effect.

Link copied to clipboard

Hides popover for the current widget.

Link copied to clipboard

Hides tooltip for the current widget.

Link copied to clipboard
fun Container.hPanel(wrap: FlexWrap? = null, justify: JustifyContent? = null, alignItems: AlignItems? = null, spacing: Int? = null, useWrappers: Boolean = false, className: String? = null, init: HPanel.() -> Unit? = null): HPanel

DSL builder extension function.

Link copied to clipboard
fun Container.i(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: I.() -> Unit? = null): I

DSL builder extension function.

Link copied to clipboard
fun Container.icon(icon: String, init: Icon.() -> Unit? = null): Icon
fun Container.icon(icon: String, size: String? = null, rotate: Number? = null, fixedWidth: Boolean? = null, spin: Boolean? = null, className: String? = null, init: Icon.() -> Unit? = null): Icon

DSL builder extension function.

Link copied to clipboard
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, className: String? = null, init: Iframe.() -> Unit? = null): Iframe

DSL builder extension function.

Link copied to clipboard
fun Container.image(src: ResString?, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, className: String? = null, init: Image.() -> Unit? = null): Image

DSL builder extension function.

Link copied to clipboard
fun Container.imaskNumeric(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), thousandsSeparator: Char? = I18n.detectThousandsSeparator(), padFractionalZeros: Boolean = false, normalizeZeros: Boolean = true, label: String? = null, rich: Boolean = false, init: ImaskNumeric.() -> Unit? = null): ImaskNumeric

DSL builder extension function.

Link copied to clipboard
fun Container.imaskNumericInput(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), thousandsSeparator: Char? = I18n.detectThousandsSeparator(), padFractionalZeros: Boolean = false, normalizeZeros: Boolean = true, className: String? = null, init: ImaskNumericInput.() -> Unit? = null): ImaskNumericInput

DSL builder extension function.

Link copied to clipboard
fun Widget.inheritingStyle(selector: String? = null, pClass: PClass? = null, pElement: PElement? = null, mediaQuery: String? = null, parentStyle: Style? = null, init: InheritingStyle.() -> Unit? = null): InheritingStyle

DSL builder extension function.

Link copied to clipboard
fun Container.input(type: InputType? = null, className: String? = null, init: Input.() -> Unit? = null): Input

DSL builder extension function.

Link copied to clipboard
open operator fun invoke(vararg children: Component)

Operator function for adding children in a DSL style.

Link copied to clipboard
fun Container.label(content: String? = null, rich: Boolean = false, forId: String? = null, className: String? = null, init: Label.() -> Unit? = null): Label

DSL builder extension function.

Link copied to clipboard
fun Container.li(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Li.() -> Unit? = null): Li

DSL builder extension function.

Link copied to clipboard
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, target: String? = null, dataNavigo: Boolean? = null, className: String? = null, init: Link.() -> Unit? = null): Link

DSL builder extension function.

Link copied to clipboard
fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, className: String? = null, init: ListTag.() -> Unit? = null): ListTag

DSL builder extension function.

Link copied to clipboard
fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Main.() -> Unit? = null): Main

DSL builder extension function.

Link copied to clipboard
fun Container.maps(optionsConfigure: dynamic.() -> Unit? = null, className: String? = null, init: Maps.() -> Unit? = null): Maps

DSL builder extension function.

Link copied to clipboard
fun Container.modal(animation: ModalAnimation? = null, className: String? = null, init: Modal.() -> Unit? = null): Modal

DSL builder extension function.

Link copied to clipboard
fun Container.nav(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Nav.() -> Unit? = null): Nav

DSL builder extension function.

Link copied to clipboard
fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor? = null, bgColor: BsBgColor = BsBgColor.BODYTERTIARY, collapseOnClick: Boolean = false, dataNavigo: Boolean? = null, containerType: ContainerType = ContainerType.FLUID, className: String? = null, init: Navbar.() -> Unit? = null): Navbar

DSL builder extension function.

Link copied to clipboard
fun Container.numeric(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), label: String? = null, rich: Boolean = false, init: Numeric.() -> Unit? = null): Numeric

DSL builder extension function.

Link copied to clipboard
fun Container.numericInput(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), className: String? = null, init: NumericInput.() -> Unit? = null): NumericInput

DSL builder extension function.

Link copied to clipboard
fun Container.offcanvas(caption: String? = null, placement: OffPlacement = OffPlacement.START, closeButton: Boolean = true, dark: Boolean = false, responsiveType: OffResponsiveType? = null, scrollableBody: Boolean = false, backdrop: Boolean = true, escape: Boolean = true, className: String? = null, init: Offcanvas.() -> Unit? = null): Offcanvas

DSL builder extension function.

Link copied to clipboard
fun Container.ol(elements: List<String>? = null, rich: Boolean = false, className: String? = null, init: Ol.() -> Unit? = null): Ol

DSL builder extension function.

Link copied to clipboard
fun Container.onsButton(content: String? = null, rich: Boolean = false, align: Align? = null, icon: String? = null, buttonType: OnsButtonType? = null, large: Boolean? = null, ripple: Boolean? = null, disabled: Boolean? = null, className: String? = null, init: OnsButton.() -> Unit? = null): OnsButton

DSL builder extension function.

Link copied to clipboard
fun Container.onsCheckBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsCheckBox.() -> Unit? = null): OnsCheckBox

DSL builder extension function.

Link copied to clipboard
fun Container.onsCheckBoxInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsCheckBoxInput.() -> Unit? = null): OnsCheckBoxInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsDateTime(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsDateTime.() -> Unit? = null): OnsDateTime

DSL builder extension function.

Link copied to clipboard
fun Container.onsDateTimeInput(value: <Error class: unknown class>? = null, mode: DateTimeMode = DateTimeMode.DATETIME, min: <Error class: unknown class>? = null, max: <Error class: unknown class>? = null, step: Number? = null, inputId: String? = null, className: String? = null, init: OnsDateTimeInput.() -> Unit? = null): OnsDateTimeInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsList(inset: Boolean = false, noborder: Boolean = false, className: String? = null, init: OnsList.() -> Unit? = null): OnsList

DSL builder extension function.

Link copied to clipboard
fun Container.onsListTitle(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: OnsListTitle.() -> Unit? = null): OnsListTitle

DSL builder extension function.

Link copied to clipboard
fun Container.onsNumber(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsNumber.() -> Unit? = null): OnsNumber

DSL builder extension function.

Link copied to clipboard
fun Container.onsNumberInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, className: String? = null, init: OnsNumberInput.() -> Unit? = null): OnsNumberInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsRadio(value: Boolean = false, extraValue: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadio.() -> Unit? = null): OnsRadio

DSL builder extension function.

Link copied to clipboard
fun Container.onsRadioGroup(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRadioGroup.() -> Unit? = null): OnsRadioGroup

DSL builder extension function.

Link copied to clipboard
fun Container.onsRadioGroupInput(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, name: String? = null, className: String? = null, init: OnsRadioGroupInput.() -> Unit? = null): OnsRadioGroupInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsRadioInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsRadioInput.() -> Unit? = null): OnsRadioInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsRange(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsRange.() -> Unit? = null): OnsRange

DSL builder extension function.

Link copied to clipboard
fun Container.onsRangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, inputId: String? = null, className: String? = null, init: OnsRangeInput.() -> Unit? = null): OnsRangeInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsSelect(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSelect.() -> Unit? = null): OnsSelect

DSL builder extension function.

Link copied to clipboard
fun Container.onsSelectInput(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, inputId: String? = null, className: String? = null, init: OnsSelectInput.() -> Unit? = null): OnsSelectInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsSwitch(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsSwitch.() -> Unit? = null): OnsSwitch

DSL builder extension function.

Link copied to clipboard
fun Container.onsSwitchInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null): OnsSwitchInput

DSL builder extension function.

Link copied to clipboard
fun Container.onsText(type: InputType = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, className: String? = null, init: OnsText.() -> Unit? = null): OnsText

DSL builder extension function.

Link copied to clipboard
fun Container.onsTextInput(type: InputType = InputType.TEXT, value: String? = null, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, maxlength: Int? = null, className: String? = null, init: OnsTextInput.() -> Unit? = null): OnsTextInput

DSL builder extension function.

Link copied to clipboard
fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: P.() -> Unit? = null): P

DSL builder extension function.

Link copied to clipboard
fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, floating: Boolean = false, init: Password.() -> Unit? = null): Password

DSL builder extension function.

Link copied to clipboard
fun Container.popover(direction: FloatDirection? = null, cancelable: Boolean? = null, animation: Boolean? = null, className: String? = null, init: Popover.() -> Unit? = null): Popover

DSL builder extension function.

Link copied to clipboard
fun <T> Container.progress(bounds: Bounds<T>, className: String? = null, init: Progress<T>.() -> Unit? = null): Progress<T>
fun Container.progress(min: Number = 0, max: Number = 100, className: String? = null, init: Progress<Number>.() -> Unit? = null): Progress<Number>

DSL builder extension function.

Link copied to clipboard
fun Container.progressBar(value: Number? = null, secondaryValue: Number? = null, indeterminate: Boolean? = null, className: String? = null, init: ProgressBar.() -> Unit? = null): ProgressBar

DSL builder extension function.

Link copied to clipboard
fun Container.progressCircular(value: Number? = null, secondaryValue: Number? = null, indeterminate: Boolean? = null, className: String? = null, init: ProgressCircular.() -> Unit? = null): ProgressCircular

DSL builder extension function.

Link copied to clipboard
fun Container.radio(value: Boolean = false, extraValue: String? = null, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: Radio.() -> Unit? = null): Radio

DSL builder extension function.

Link copied to clipboard
fun Container.radioGroup(options: List<<Error class: unknown class><String, String>>? = 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.

Link copied to clipboard
fun Container.radioGroupInput(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: RadioGroupInput.() -> Unit? = null): RadioGroupInput

DSL builder extension function.

Link copied to clipboard
fun Container.radioInput(value: Boolean = false, className: String? = null, init: RadioInput.() -> Unit? = null): RadioInput

DSL builder extension function.

Link copied to clipboard
fun Container.range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = RANGE_DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: Range.() -> Unit? = null): Range

DSL builder extension function.

Link copied to clipboard
fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = RANGE_DEFAULT_STEP, className: String? = null, init: RangeInput.() -> Unit? = null): RangeInput

DSL builder extension function.

Link copied to clipboard
fun Container.react(className: String? = null, builder: <Error class: unknown class>.() -> Unit): React<dynamic>
fun <S> Container.react(state: S, className: String? = null, builder: <Error class: unknown class>.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>

DSL builder extension function.

Link copied to clipboard
fun <S> Container.reactBind(state: ObservableState<S>, className: String? = null, builder: <Error class: unknown class>.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>

DSL builder extension function for binding to ObservableState

Link copied to clipboard
open override fun remove(child: Component)

Removes given component from the current container.

Link copied to clipboard
open override fun removeAfterCreateHook(hook: (VNode) -> Unit): Boolean

Remove the after create hook function (the same function reference must be used).

Link copied to clipboard
open override fun removeAfterDestroyHook(hook: () -> Unit): Boolean

Remove the after destroy hook function (the same function reference must be used).

Link copied to clipboard
open override fun removeAfterInsertHook(hook: (VNode) -> Unit): Boolean

Remove the after insert hook function (the same function reference must be used).

Link copied to clipboard
open override fun removeAll()

Removes all children from the current container.

Link copied to clipboard
open override fun removeAt(position: Int)

Removes child component from the current container at the given position.

Link copied to clipboard
open override fun removeAttribute(name: String)

Removes the value of additional attribute.

Link copied to clipboard
open override fun removeBeforeDisposeHook(hook: () -> Unit): Boolean

Remove the before dispose hook function (the same function reference must be used).

Link copied to clipboard
Link copied to clipboard
fun Component.removeBsBorder(vararg bsBorder: BsBorder)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Component.removeBsRounded(vararg bsRounded: BsRounded)
Link copied to clipboard
open override fun removeCssClass(css: String)

Removes given value from the set of CSS classes generated in html code of current component.

Link copied to clipboard
open override fun removeCssStyle(css: Style)

Removes given style object from the set of CSS classes generated in html code of current component.

Link copied to clipboard
open override fun removeEventListener(id: Int)

Removes event listener from current widget.

Link copied to clipboard
open override fun removeEventListeners()

Removes all event listeners from current widget.

Link copied to clipboard
fun removeStyle(name: String)

Removes the value of a custom CSS style.

Link copied to clipboard
open override fun removeSurroundingCssClass(css: String)

Removes given value from the set of CSS classes generated in html code of parent component.

Link copied to clipboard
open override fun removeSurroundingCssStyle(css: Style)

Removes given style object from the set of CSS classes generated in html code of parent component.

Link copied to clipboard
fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, className: String? = null, init: ResponsiveGridPanel.() -> Unit? = null): ResponsiveGridPanel

DSL builder extension function.

Link copied to clipboard
fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, allowFileUploads: Boolean = false, init: RichText.() -> Unit? = null): RichText

DSL builder extension function.

Link copied to clipboard
fun Container.richTextInput(value: String? = null, allowFileUploads: Boolean = false, className: String? = null, init: RichTextInput.() -> Unit? = null): RichTextInput

DSL builder extension function.

Link copied to clipboard
fun Container.ripple(rippleColor: Color? = null, rippleBackground: Color? = null, size: RippleSize? = null, center: Boolean? = null, className: String? = null, init: Ripple.() -> Unit? = null): Ripple

DSL builder extension function.

Link copied to clipboard
fun Container.row(rowVerticalAlign: GridVerticalAlign? = null, className: String? = null, init: Row.() -> Unit? = null): Row

DSL builder extension function.

Link copied to clipboard
fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Section.() -> Unit? = null): Section

DSL builder extension function.

Link copied to clipboard
fun Container.segment(className: String? = null, init: Segment.() -> Unit? = null): Segment

DSL builder extension function.

Link copied to clipboard
fun Container.select(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, name: String? = null, label: String? = null, rich: Boolean = false, floating: Boolean = false, init: Select.() -> Unit? = null): Select

DSL builder extension function.

Link copied to clipboard
fun Container.selectInput(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, className: String? = null, init: SelectInput.() -> Unit? = null): SelectInput

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.selectRemote(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, name: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, label: String? = null, rich: Boolean = false, init: SelectRemote<T>.() -> Unit? = null): SelectRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.selectRemoteInput(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, selectSize: Int? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: SelectRemoteInput<T>.() -> Unit? = null): SelectRemoteInput<T>

DSL builder extension function.

Link copied to clipboard
open override fun setAttribute(name: String, value: String)

Sets the value of additional attribute.

Link copied to clipboard

Sets context menu for the current widget.

Link copied to clipboard
open fun setDragDropData(format: String, data: String)

Sets D&D data for the current widget. It also makes it draggable.

Link copied to clipboard
open fun setDropTarget(format: String, callback: (<Error class: unknown class>) -> Unit)
open fun setDropTarget(formats: Set<String>? = null, callback: (<Error class: unknown class>) -> Unit)

Sets the current widget as a D&D drop target.

Link copied to clipboard
open fun setDropTargetData(format: String, callback: (String?) -> Unit)

Sets the current widget as a D&D drop target with helper callback accepting String data.

Link copied to clipboard
open override fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int

Sets an event listener for current widget, keeping the actual type of component.

Link copied to clipboard
open override fun setState(state: Number?)

Set current state.

Link copied to clipboard
fun setStyle(name: String, value: String)

Sets the value of a custom CSS style.

Link copied to clipboard
open override fun setValue(v: Any?)

Sets the value of the control.

Link copied to clipboard
open fun show()

Makes current widget visible.

Link copied to clipboard
fun Widget.showAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Shows current widget with animation effect.

Link copied to clipboard

Shows popover for the current widget.

Link copied to clipboard

Shows tooltip for the current widget.

Link copied to clipboard
fun Container.simplePanel(vararg styles: Style, init: SimplePanel.() -> Unit? = null): SimplePanel

DSL builder extension function with Style support

fun Container.simplePanel(className: String? = null, init: SimplePanel.() -> Unit? = null): SimplePanel

DSL builder extension function.

Link copied to clipboard
open override fun <T> singleRender(block: () -> T): T

Executes given function within a single rendering process.

Link copied to clipboard
open override fun singleRenderAsync(block: () -> Unit)

Executes given function within a single rendering process asynchronously.

Link copied to clipboard
fun Widget.slideDown(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Shows current widget with slide down effect.

Link copied to clipboard
fun Widget.slideUp(duration: Int = 400, easing: Easing = Easing.SWING, complete: () -> Unit? = null)

Hides current widget with slide up effect.

Link copied to clipboard
fun Container.small(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Small.() -> Unit? = null): Small

DSL builder extension function.

Link copied to clipboard
fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Span.() -> Unit? = null): Span

DSL builder extension function.

Link copied to clipboard
fun Container.speedDial(icon: String? = null, floatPosition: FloatPosition? = null, floatDirection: FloatDirection? = null, content: String? = null, rich: Boolean = false, className: String? = null, init: SpeedDial.() -> Unit? = null): SpeedDial

DSL builder extension function.

Link copied to clipboard
fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Int = SPINNER_DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit? = null): Spinner

DSL builder extension function.

Link copied to clipboard
fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Int = SPINNER_DEFAULT_STEP, className: String? = null, init: SpinnerInput.() -> Unit? = null): SpinnerInput

DSL builder extension function.

Link copied to clipboard
fun Container.splitPanel(direction: Direction = Direction.VERTICAL, className: String? = null, init: SplitPanel.() -> Unit? = null): SplitPanel

DSL builder extension function.

Link copied to clipboard
fun Container.stackPanel(activateLast: Boolean = true, className: String? = null, init: StackPanel.() -> Unit? = null): StackPanel

DSL builder extension function.

Link copied to clipboard
fun Container.strong(content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Strong.() -> Unit? = null): Strong

DSL builder extension function.

Link copied to clipboard
fun Widget.style(selector: String? = null, pClass: PClass? = null, pElement: PElement? = null, mediaQuery: String? = null, init: Style.() -> Unit? = null): Style

DSL builder extension function.

Link copied to clipboard

Style form control element for horizontal form panel.

Link copied to clipboard

Style form control element for inline form panel.

Link copied to clipboard

Style form control element for vertical form panel.

Link copied to clipboard
fun <S, T> ObservableState<S>.sub(contextWidget: Widget? = null, extractor: (S) -> T): ObservableState<T>

Returns a sub-store of the original ObservableState

Link copied to clipboard
open override fun subscribe(observer: (Number?) -> Unit): () -> Unit

Subscribe for the state change notifications. Calls the observer with the current state.

Link copied to clipboard
fun Container.switch(value: Boolean = false, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: Switch.() -> Unit? = null): Switch

DSL builder extension function.

Link copied to clipboard
fun Container.switchInput(value: Boolean = false, className: String? = null, init: SwitchInput.() -> Unit? = null): SwitchInput

DSL builder extension function.

Link copied to clipboard
fun Container.table(className: String? = null, init: Table.() -> Unit? = null): Table
fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, tableColor: TableColor? = null, theadColor: TableColor? = null, tbodyDivider: Boolean = false, className: String? = null, init: Table.() -> Unit? = null): Table

DSL builder extension function.

Link copied to clipboard
fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, draggableTabs: Boolean = false, className: String? = null, init: TabPanel.() -> Unit? = null): TabPanel

DSL builder extension function.

Link copied to clipboard
fun Container.tabulator(options: TabulatorOptions<dynamic> = TabulatorOptions(), types: Set<TableType> = setOf(), className: String? = null, init: Tabulator<dynamic>.() -> Unit? = null): Tabulator<dynamic>

DSL builder extension function for dynamic data (send within options parameter).

inline fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, noinline dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), className: String? = null, serializer: <Error class: unknown class><T> = serializer(), serializersModule: <Error class: unknown class>? = null, noinline init: Tabulator<T>.() -> Unit? = null): Tabulator<T>

DSL builder extension function for a general observable store.

inline fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), className: String? = null, serializer: <Error class: unknown class><T> = serializer(), serializersModule: <Error class: unknown class>? = null, noinline init: Tabulator<T>.() -> Unit? = null): Tabulator<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tabulatorPagination(className: String? = null, init: TabulatorPagination<T>.() -> Unit? = null): TabulatorPagination<T>

DSL builder extension function.

Link copied to clipboard
inline fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: <Error class: unknown class><E>, noinline function: suspend E.(Int?, Int?, List<<Error class: unknown class>>?, List<<Error class: unknown class>>?, String?) -> <Error class: unknown class><T>, noinline stateFunction: () -> String? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), className: String? = null, serializer: <Error class: unknown class><T>? = null, module: <Error class: unknown class>? = null, noinline requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, noinline init: TabulatorRemote<T, E>.() -> Unit? = null): TabulatorRemote<T, E>

DSL builder extension function.

Link copied to clipboard
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, attributes: Map<String, String>? = null, init: Tag.() -> Unit? = null): Tag

DSL builder extension function.

Link copied to clipboard
fun Container.text(type: InputType = InputType.TEXT, value: String? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, floating: Boolean = false, init: Text.() -> Unit? = null): Text

DSL builder extension function.

Link copied to clipboard
fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, floating: Boolean = false, init: TextArea.() -> Unit? = null): TextArea

DSL builder extension function.

Link copied to clipboard
fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, className: String? = null, init: TextAreaInput.() -> Unit? = null): TextAreaInput

DSL builder extension function.

Link copied to clipboard
fun Container.textInput(type: InputType = InputType.TEXT, value: String? = null, maxlength: Int? = null, className: String? = null, init: TextInput.() -> Unit? = null): TextInput

DSL builder extension function.

Link copied to clipboard
fun Container.textNode(content: String, rich: Boolean = false, init: TextNode.() -> Unit? = null): TextNode

DSL builder extension function.

Link copied to clipboard
fun Container.themeSwitcher(title: String? = "Switch color theme", style: ButtonStyle = ButtonStyle.SECONDARY, round: Boolean = false, disabled: Boolean = false, className: String? = null, init: ThemeSwitcher.() -> Unit? = null): ThemeSwitcher

DSL builder extension function.

Link copied to clipboard
fun Container.time(datetime: String, content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, init: Time.() -> Unit? = null): Time

DSL builder extension function.

Link copied to clipboard
fun Container.toast(animation: ToastAnimation? = null, className: String? = null, init: Toast.() -> Unit? = null): Toast

DSL builder extension function.

Link copied to clipboard
open fun toggleVisible()

Toggles visibility of current widget.

Link copied to clipboard
fun Container.tomSelect(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, label: String? = null, rich: Boolean = false, init: TomSelect.() -> Unit? = null): TomSelect

DSL builder extension function.

Link copied to clipboard
fun Container.tomSelectInput(options: List<<Error class: unknown class><String, String>>? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, className: String? = null, init: TomSelectInput.() -> Unit? = null): TomSelectInput

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tomSelectRemote(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?, String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomSelectRemote<T>.() -> Unit? = null): TomSelectRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tomSelectRemoteInput(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?, String?) -> List<<Error class: unknown class>>, stateFunction: () -> String? = null, value: String? = null, emptyOption: Boolean = false, multiple: Boolean = false, maxOptions: Int? = null, tsOptions: TomSelectOptions? = null, tsCallbacks: TomSelectCallbacks? = null, tsRenders: TomSelectRenders? = null, preload: Boolean = false, openOnFocus: Boolean = false, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: TomSelectRemoteInput<T>.() -> Unit? = null): TomSelectRemoteInput<T>

DSL builder extension function.

Link copied to clipboard
fun Container.tomTypeahead(options: List<String>? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeahead.() -> Unit? = null): TomTypeahead

DSL builder extension function.

Link copied to clipboard
fun Container.tomTypeaheadInput(options: List<String>? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, className: String? = null, init: TomTypeaheadInput.() -> Unit? = null): TomTypeaheadInput

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tomTypeaheadRemote(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: TomTypeaheadRemote<T>.() -> Unit? = null): TomTypeaheadRemote<T>

DSL builder extension function.

Link copied to clipboard
fun <T : Any> Container.tomTypeaheadRemoteInput(serviceManager: <Error class: unknown class><T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: () -> String? = null, type: InputType = InputType.TEXT, value: String? = null, tsCallbacks: TomSelectCallbacks? = null, requestFilter: suspend <Error class: unknown class>.() -> Unit? = null, className: String? = null, init: TomTypeaheadRemoteInput<T>.() -> Unit? = null): TomTypeaheadRemoteInput<T>

DSL builder extension function.

Link copied to clipboard
fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, className: String? = null, init: Toolbar.() -> Unit? = null): Toolbar

DSL builder extension function.

Link copied to clipboard
fun Container.tr(className: String? = null, init: Tr.() -> Unit? = null): Tr

DSL builder extension function.

Link copied to clipboard
open fun translate(text: String): String
open fun translate(text: String?): String?

Translates given text with I18n trans function and sets lastLanguage marker.

Link copied to clipboard
fun Container.triStateCheckBox(value: Boolean? = null, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: TriStateCheckBox.() -> Unit? = null): TriStateCheckBox

DSL builder extension function.

Link copied to clipboard
fun Container.triStateCheckBoxInput(value: Boolean = false, className: String? = null, init: TriStateCheckBoxInput.() -> Unit? = null): TriStateCheckBoxInput

DSL builder extension function.

Link copied to clipboard
fun Container.ul(elements: List<String>? = null, rich: Boolean = false, className: String? = null, init: Ul.() -> Unit? = null): Ul

DSL builder extension function.

Link copied to clipboard
open operator fun String.unaryPlus()

An operator to add a text node to the container.

Link copied to clipboard
fun Container.upload(multiple: Boolean = false, accept: List<String>? = null, capture: Capture? = null, label: String? = null, rich: Boolean = false, init: Upload.() -> Unit? = null): Upload

DSL builder extension function.

Link copied to clipboard
fun Container.uploadInput(multiple: Boolean = false, accept: List<String>? = null, capture: Capture? = null, className: String? = null, init: UploadInput.() -> Unit? = null): UploadInput

DSL builder extension function.

Link copied to clipboard

Makes the component use distinct snabbdom key.

Link copied to clipboard
fun Container.vPanel(justify: JustifyContent? = null, alignItems: AlignItems? = null, spacing: Int? = null, useWrappers: Boolean = false, className: String? = null, init: VPanel.() -> Unit? = null): VPanel

DSL builder extension function.

Link copied to clipboard
fun Container.widget(className: String? = null, init: Widget.() -> Unit? = null): Widget

DSL builder extension function.

Link copied to clipboard
fun Container.window(caption: String? = null, contentWidth: <Error class: unknown class><Number, UNIT>? = CssSize(0, UNIT.auto), contentHeight: <Error class: unknown class><Number, UNIT>? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, className: String? = null, init: Window.() -> Unit? = null): Window

DSL builder extension function.