A function that gets called when the button was clicked. Must return a Promise
Optional
disableIf set to true, the button gets disabled when clicked
Optional
iconThe icon of the button. if omitted no icon gets printed
Optional
labelThe label of the button. If omitted no label gets printed.
Optional
toggleToggles the state of the button.
Optional
typeOptional
vibrationIf set to true, the device vibrates on a button click (only on devices/platforms that supports vibration).
Generated using TypeDoc
BaseButton options.