A function that gets called when the button was clicked. Must return a Promise
OptionaldisableIf set to true, the button gets disabled when clicked
OptionaliconThe icon of the button. if omitted no icon gets printed
OptionallabelThe label of the button. If omitted no label gets printed.
OptionaltoggleToggles the state of the button.
OptionalvibrationIf set to true, the device vibrates on a button click (only on devices/platforms that supports vibration).
BaseButton options.