OnsNumberInput
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)(source)
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
floatLabel
whether the placeholder will be animated in Material Design
inputId
the ID of the input element
className
CSS class names
init
an initializer extension function