Readonly
signalsSignal emitted when all notifications are deleted
Number of notifications in the center
Returns a set of all unique notification types.
Number of unread notification in the center
Static
instanceReturns the instance of the notification center
Returns a generator of notifications
Returns a generator of unread notifications
Add a notification and return its index If you push a notification with the same id, it will replace the previous one.
Optional
id: stringRemove notifications with ids
A notification id, or an array of notification ids
Switch notifications to read status
The Notification Center keeps track of notifications sent to the viewer.