This component can be used to show latest notifications in a custom made panel. These notifications can be either system wide or applications that sent to the currently logged in user from other users.
It has some basic features including
Name | Description |
---|---|
id
|
Unique id of the notification. |
icon
|
Icon name for the notification. |
image
|
Image for the notification. |
title
|
Title of the notification. |
description
|
Description of the notification. |
time
|
String representation of the time of the notification (like ISO string). |
link
|
Link of the notification. |
useRouter
|
Whether to use the Router to parse the link. |
read
|
Whether the notification marked as read. |
The NotificationsService
can be used to control the notifications outside of the Notifications component. This is particularly useful
to control the notifications from other components for actions like creating, updating or deleting them.
Here's the list of all available methods from NotificationsService
: