Label API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
content | string | "" | Text content of the label. |
type | string | "" | Semantic type controlling the label color. |
icon | string | "" | Icon name from the icon library. |
close | boolean | false | Shows a close icon on the label. |
disabled | boolean | false | Disables interaction with the label. |
Events
| Event | Description | Returns | |
|---|---|---|---|
close | Fires when the close icon is clicked. | — | |
trigger | Fires when the label is clicked. Not fired when the label is disabled. | — | |