Spinner Input
open class SpinnerInput(value: Number?, min: Number?, max: Number?, step: Number, decimals: Int, buttonsType: ButtonsType, forceType: ForceType, buttonStyle: <ERROR CLASS>?, decimalSeparator: String?, className: String?, init: SpinnerInput.() -> Unit?)
Content copied to clipboard
The basic component for spinner control.
Parameters
value
spinner value
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
button Style
the style of the up/down buttons
decimal Separator
the decimal separator (default: auto detect)
class Name
CSS class names
init
an initializer extension function
Constructors
SpinnerInput
Link copied to clipboard
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)
Content copied to clipboard
Types
Functions
after Destroy
Link copied to clipboard
after Insert
Link copied to clipboard
bind All JQuery Listeners
Link copied to clipboard
build Attribute Set
Link copied to clipboard
build Class Set
Link copied to clipboard
get Value As String
Link copied to clipboard
Returns the value of the spinner as a String.
remove All JQuery Listeners
Link copied to clipboard
spin Down
Link copied to clipboard
Change value in minus.
spin Up
Link copied to clipboard
Change value in plus.
Properties
buttonStyle
Link copied to clipboard
buttonsType
Link copied to clipboard
decimalSeparator
Link copied to clipboard
placeholder
Link copied to clipboard
startValue
Link copied to clipboard
validationStatus
Link copied to clipboard