@novu/notification-center-vue
Ā package provides a Vue component wrapper over the Notification Center Web Component that you can use to integrate the notification center into your Vue application.
NotificationCenterComponent
Ā as a global component. This is the recommended way to use the component.
NotificationCenterComponent
Ā renders the default bell button that opens the notification center when clicked, but it can be customized.
NotificationCenterComponent
Ā and it will be used to open the notification center. TheĀ NotificationCenterComponent
Ā also accepts a scoped slot which exposes theĀ unseenCount
Ā property - the number of unseen notifications counts.
NotificationCenterComponent
accepts the same set of props as the Web Component.
It also accepts an extra prop
Prop | Type | Description |
---|---|---|
triggers | string[] | This is an Array of events that controls the underlying popper componentās trigger. Read more here |