kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / <init>

<init>

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

Parameters

value - spinner value

min - minimal value

max - maximal value

step - step value (default 1)

decimals - number of decimal digits (default 0)

buttonsType - spinner buttons type

forceType - spinner force rounding type

buttonStyle - the style of the up/down buttons

classes - a set of CSS class names

Constructor