Spinner
open class Spinner(value: Number?, name: String?, min: Number?, max: Number?, step: Number, decimals: Int, buttonsType: ButtonsType, forceType: ForceType, buttonStyle: <ERROR CLASS>?, decimalSeparator: String?, label: String?, rich: Boolean, init: Spinner.() -> Unit?)
Content copied to clipboard
The form field component for spinner control.
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
Constructors
Spinner
Link copied to clipboard
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: <ERROR CLASS>? = null, decimalSeparator: String? = I18n.detectDecimalSeparator(), label: String? = null, rich: Boolean = false, init: Spinner.() -> Unit? = null)
Content copied to clipboard
Types
Functions
build Class Set
Link copied to clipboard
get Value As String
Link copied to clipboard
remove Event Listener
Link copied to clipboard
remove Event Listeners
Link copied to clipboard
set Event Listener
Link copied to clipboard
style For Horizontal Form Panel
Link copied to clipboard
Properties
buttonStyle
Link copied to clipboard
buttonsType
Link copied to clipboard
decimalSeparator
Link copied to clipboard
input
Link copied to clipboard
invalidFeedback
Link copied to clipboard
placeholder
Link copied to clipboard
startValue
Link copied to clipboard
validatorError
Link copied to clipboard