Represents a button in the frontend using a widget. Allows user to listen for click events on the button and trigger backend code when the clicks are fired.
This widget has an on_click method that allows you to listen for the user clicking on the button. The click event itself is stateless.
Register a callback to execute when the button is clicked.
The callback will be called with one argument, the clicked button widget instance.
remove : bool (optional)