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: <ERROR CLASS>? = null, decimalSeparator: String? = I18n.detectDecimalSeparator(), className: String? = null, 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)

className

CSS class names

init

an initializer extension function