callback handling the click on the button
name of the boxicon to be used (e.g. "time" for "bx-time" icon)
id of the button, used to identify the old instances of this button to be replaced ID is optional because of BC, but not specifying it is deprecated. ID can be alphanumeric only.
keyboard shortcut for the button, e.g. "alt+t"
An instance of the frontend api available globally.
Global
Var
api