The default constructor
The notification header
The notification message
The notification kebab actions
An object containing notifications properties
The event emitted when an action has been selected
The event emitted when the close button has been selected
The event emitted when the mouse hovers over and leaves a notification
The primary action
Set to true to show close button
The notification type (e.g., NotificationType.SUCCESS, NotificationType.INFO, etc.)
Get the flag indicating that the close button should be shown
The flag indicating that the close button should be shown
Check if the component config has changed
Setup component configuration upon initialization
Generated using TypeDoc
Toast notifications are used to notify users of a system occurrence. Toast notifications should be transient and stay on the screen for 8 seconds, so that they do not block the information behind them for too long, but allows the user to read the message. The ToastNotification component allows status, header, message, primary action and menu actions for the notification. The notification can also allow the user to close the notification.
Note: Using the kebab menu (more actions) with the close button is not currently supported. If both are specified the close button will not be shown. Add a close menu item if you want to have both capabilities.