kvision / pl.treksoft.kvision.form.range

Package pl.treksoft.kvision.form.range

Types

Range

open class Range : SimplePanel, NumberFormControl

The form field component for range input control.

RangeInput

open class RangeInput : Widget, FormInput

Range input component.

Functions

range

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.

rangeInput

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.