From f23e74c2eb0cae2f6ce674881e86ab5d5659ad77 Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
<init>
-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())
+SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
Parameters
min - minimal value (default 0)min - minimal value
-max - maximal value (default 100)
max - maximal value
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html index a80e5dcd..6ca2f593 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/index.html @@ -18,7 +18,7 @@
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())SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
@@ -75,7 +75,7 @@
var max: Int
+var max: Int?
Maximal value.
var min: Int
+var min: Int?
Minimal value.
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
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, 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.
var max: Int
+var max: Int?
Maximal value.
Getter
Maximal value.
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html index 09354166..53235e6e 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/min.html @@ -9,7 +9,7 @@var min: Int
+var min: Int?
Minimal value.
Getter
Minimal value.
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html b/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html index dc197be0..a1861f9b 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html @@ -9,7 +9,7 @@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
+fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, 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.