Reference to the button.
Wether button should be disabled.
Name of the Material icon printed inside button.
Image shown on hover.
Caption inside button.
Button by default.
Executed when user clicks a button.
Tooltip shown on hover.
Material style of the button.
basic by default.
<drayman-button />
Button powered by Angular Material library.
Example of usage
export const component: DraymanComponent = async ({ forceUpdate }) => { let counter = 0; return () => { return ( <div> <drayman-button label="Click me" onClick={async () => { counter++; await forceUpdate(); }} /> <p>Button was clicked {counter} times</p> </div> ); } }