Package io. kvision. form. spinner
Spinner input component.
Types
Buttons Type
Link copied to clipboard
Spinner buttons layout types.
Spinner
Link copied to clipboard
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.
Spinner Input
Link copied to clipboard
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.
Functions
spinner
Link copied to clipboard
fun <ERROR CLASS>.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): Spinner
Content copied to clipboard
DSL builder extension function.
spinner Input
Link copied to clipboard
fun <ERROR CLASS>.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): SpinnerInput
Content copied to clipboard
DSL builder extension function.