Ons Number Input
constructor(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)
Creates a 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