ButtonSystem
- Source:
Classes
Type Definitions
ButtonConfig
- Source:
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
builder |
ButtonSystem.ButtonBuilder |
<optional> |
The builder to use when creating the button, if not specified, the DefaultBuilder will be used. | |
style |
'text' | 'outlined' | 'raised' | 'unelevated' |
<optional> |
'text'
|
The style of the button |
icon |
Element |
<optional> |
An icon to add to the button | |
iconTrailing |
boolean |
<optional> |
true
|
Wether the icon should be trailing the button text |
onAction |
function |
<optional> |
The callback to run when the button has its action triggered |
Type:
- Object