Package io.kvision.form.spinner

Spinner input component.

Types

ButtonsType
Link copied to clipboard
enum ButtonsType : Enum<ButtonsType>

Spinner buttons layout types.

ForceType
Link copied to clipboard
enum ForceType : Enum<ForceType>

Spinner force rounding 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?)

The form field component for spinner control.

SpinnerInput
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?)

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

DSL builder extension function.

spinnerInput
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

DSL builder extension function.