kvision / pl.treksoft.kvision.form.range

Package pl.treksoft.kvision.form.range

Range input component.

Types

(js)

Range

The form field component for range input control.

open class Range : SimplePanel, NumberFormControl, ObservableState<Number?>
(js)

RangeInput

Range input component.

open class RangeInput : Widget, FormInput, ObservableState<Number?>

Functions

(js)

range

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

rangeInput

DSL builder extension function.

fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String>? = null, className: String? = null, init: (RangeInput.() -> Unit)? = null): RangeInput