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

<init>

SpinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: BUTTONSTYPE = BUTTONSTYPE.VERTICAL, forceType: FORCETYPE = FORCETYPE.NONE, classes: Set<String> = setOf())

Parameters

value - spinner value

min - minimal value (default 0)

max - maximal value (default 100)

step - step value (default 1)

decimals - number of decimal digits (default 0)

buttonsType - spinner buttons type

forceType - spinner force rounding type

classes - a set of CSS class names

Constructor