Toast
Toast alerts are used to provide timely information about system occurrences as well as feedback on the outcome of user actions.
Alignment
Section titled “Alignment”certara-toast
Section titled “certara-toast”Properties
Section titled “Properties”alignContent
| Attribute | align-content |
| Type | "center" | "left" | "right" |
| Default | 'left' |
| Required | false |
| Description | The content alignment inside the toast |
dismissible
| Attribute | dismissible |
| Type | boolean |
| Default | false |
| Required | false |
| Description | If true, the toast can be dismissed by clicking the close button |
headline
| Attribute | headline |
| Type | string |
| Default | undefined |
| Required | false |
| Description | The bolded first sentence of the toast |
shake
| Attribute | shake |
| Type | boolean |
| Default | false |
| Required | false |
| Description | If true, the toast will shake when it appears |
variant
| Attribute | variant |
| Type | "danger" | "info" | "success" | "warning" |
| Default | 'info' |
| Required | false |
| Description | sets the theme/color of the toast |
Events
Section titled “Events”| Name | Description | Bubbles |
|---|---|---|
certaraClose | Event emitted when the toast is closed if dismissible is true | false |
Methods
Section titled “Methods”There are no public methods available for this component
| Name | Description |
|---|---|
| Default toast content | |
toast-ctas | Slot for additional call-to-action buttons or links |