Spinner Input
open class SpinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, val buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: <Error class: unknown class>? = null, decimalSeparator: String? = I18n.detectDecimalSeparator(), className: String? = null, init: SpinnerInput.() -> Unit? = null)
Deprecated
Use SimpleSpinnerInput instead. The library that this component is based on is no longer maintained and this module will be removed in KVision 6.
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
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: unknown class>? = null, decimalSeparator: String? = I18n.detectDecimalSeparator(), className: String? = null, init: SpinnerInput.() -> Unit? = null)
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the value of the spinner as a String.
Link copied to clipboard
Link copied to clipboard
Change value in minus.
Link copied to clipboard
Change value in plus.