kvision / pl.treksoft.kvision.form.spinner / SpinnerInput / spinnerInput

spinnerInput

fun Container.spinnerInput(value: Number? = null, min: Int = 0, max: Int = DEFAULT_MAX, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: BUTTONSTYPE = BUTTONSTYPE.VERTICAL, forceType: FORCETYPE = FORCETYPE.NONE, classes: Set<String> = setOf(), init: SpinnerInput.() -> Unit = null): SpinnerInput

DSL builder extension function.

It takes the same parameters as the constructor of the built component.