Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)
name
- the name attribute of the generated HTML input element
decimals
- number of decimal digits (default 0)
buttonsType
- spinner buttons type
forceType
- spinner force rounding type
label
- label text bound to the input element
rich
- determines if label can contain HTML code
Constructor