A class that represents an input field where only numbers can be entered.
@ extends Widget implements ValueWidget
Create a new number input field and initialize it.
Optional
The label text.
The initial value.
The function to call when the input is changed.
Do the necessary initialization.
Add one or more classes to an element.
Rest
Bind an input field to an object property.
The object to bind the property to.
The property to bind.
Destroy the element
Get the value of the input field.
Add a click event listener to the widget.
The function to call when the widget is clicked.
Add an input event listener to the input field.
Remove one or more classes from an element.
Set the content of the widget.
The value to set the content to.
Set the label of the input field.
The new label text.
Set the text of the widget.
The value to set the text to.
Set the value of the input field.
A class that represents an input field where only numbers can be entered.
@ extends Widget implements ValueWidget