buttons: button with text and icon
Generates a basic html button element with default styling.
Text to be shown within the button. Can be updated using
The state to bind the button to. Will execute the left click function and update the
Gives the option to overwrite the type. Current type: Button Icon to be shown next to the button, be aware to include the icon font in your HTML/template. Icon can be updated using
Will be executed on left click if given, the state key will also be set to
1 on execution of this function.