Ons Number Input
open class OnsNumberInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, className: String? = null, init: OnsNumberInput.() -> Unit? = null)
OnsenUI number input component.
Parameters
value
number input value
min
minimal value
max
maximal value
step
step value (default 1)
placeholder
the placeholder for the number input
float Label
whether the placeholder will be animated in Material Design
input Id
the ID of the input element
class Name
CSS class names
init
an initializer extension function
Properties
Link copied to clipboard
Specifies the auto complete mode of the input element.
Link copied to clipboard
Whether the placeholder will be animated in Material Design.
Link copied to clipboard
The placeholder for the number input.
Link copied to clipboard
The value attribute of the generated HTML input element.
Link copied to clipboard
The validation status of the input.