OnsRange

constructor(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)

Creates a form field range component.

Parameters

value

number input value

min

minimal value (default 0)

max

maximal value (default 100)

step

step value (default 1)

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