Spinner
fun Spinner(value: Number? = null, name: String? = 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(), label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit? = null)
Parameters
value
spinner value
name
the name attribute of the generated HTML input element
min
minimal value
max
maximal value
step
step value (default 1)
decimals
number of decimal digits (default 0)
buttons Type
spinner buttons type
force Type
spinner force rounding type
decimal Separator
the decimal separator (default: auto detect)
label
label text bound to the input element
rich
determines if label can contain HTML code
init
an initializer extension function