Status
The status of the component
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| toastType | toast-type | "action" | "error" | "info" | "success" | "warning" | 'success' |
| Event | Description | Type |
|---|---|---|
| guxdismiss | CustomEvent<void> |
| Slot | Description |
|---|---|
| "icon" | Required slot for toast type of action |
| "link" | Optional slot for a link in any toast except toast type of action |
| "message" | Required slot for the toast message |
| "primary-button" | Required slot for primary action button in an action toast |
| "secondary-button" | Optional slot for secondary action button in an action toast |
| "title" | Optional slot for the toast title |
graph TD;
gux-toast --> gux-icon
gux-toast --> gux-link-beta
gux-toast --> gux-cta-group
gux-toast --> gux-button-slot
gux-toast --> gux-truncate
gux-toast --> gux-dismiss-button
gux-truncate --> gux-tooltip
gux-dismiss-button --> gux-button-slot
gux-dismiss-button --> gux-icon
style gux-toast fill:#f9f,stroke:#333,stroke-width:4px
Built with StencilJS