SpinnerInput

fun 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, decimalSeparator: String? = I18n.detectDecimalSeparator(), classes: Set<String> = setOf(), init: SpinnerInput.() -> Unit? = null)

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

decimalSeparator

the decimal separator (default: auto detect)

classes

a set of CSS class names

init

an initializer extension function