SiToastNotificationService documentation¶
provided in root
✓
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| activeToasts ¶ | SiToast[] | [] | List of currently active toasts to see details or close them. |
| hideToastNotification(...) ¶ | (toast: SiToast) => void | Hide a toast notification Parameters
| |
| queueToastNotification(...) ¶ | (state: ToastStateName, title: string, message: string, disableAutoClose: boolean, disableManualClose: boolean, action: Link) => SiToast | Queue a new toast to be shown. Returns the toast object Parameters | |
| showToastNotification(...) ¶ | (toast: SiToast) => SiToast | Show a toast notification Parameters
|
Types Documentation¶
|
|
| Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
|---|
Translatable import imported from @siemens/element-translate-ng |
|---|
Except where otherwise noted, content on this site is licensed under MIT License.