Widget with value
Do the necessary initialization.
Add one or more classes to an element.
Rest
Destroy the element
Add a click event listener to the widget.
The function to call when the widget is clicked.
Remove one or more classes from an element.
Set the content of the widget.
The value to set the content to.
Set the text of the widget.
The value to set the text to.
Widget with value