The default constructor
Allows for interacting with a stream of notifications
Get all notifications
Generate a notification for the given HTTP Response
The notification message
The HTTP Response
Generate a notification message
The notification type
The notification header
The notification message
True if the notification should be persistent
The primary action for the notifiaction
More actions for the kebab
Remove notification
The notification to remove
Set the delay after which the notification is dismissed. The argument of this method expects miliseconds. Default delay is 8000 ms.
The delay in ms
Sets persist option for particular modes. Notification with persistent mode won't be dismissed after delay, but has to be closed manually with the close button. By default, the "error" and "httpError" modes are set to persistent.
Set to true to persist notifications
Set the verbose mode to on (default) or off. During the verbose mode, each notification is printed in the console.
Set to true for verbose mode
Set a flag indicating user is viewing the given notification
The notification currently being viewed
True if the notification is being viewed
Generated using TypeDoc
Notification service used to notify user about important events in the application.
You may configure the service with: setDelay, setVerbose and setPersist.