Notification Center
Last updated
Was this helpful?
Last updated
Was this helpful?
Using React? You can use our React notification center component found on npm. Check it out here:
Using Vue? You can use our VueJS notification center component found on npm. Check it out here:
The Notification Center has two parts:
A javascript tag
An HTML tag that you can put anywhere in your application
In your application, you’ll include the javascript tag on any page where you plan to put the notification center. See those below:
A full . A running version on (just click Run).
Place in the <head> tag of any page that you plan to use the Notification Center
In addition to that, you can place the Notification Center html tag anywhere that you want to position the Notification Center in your application. There are two attributes to pass in the tag:
Attribute
Description
appID
Automatically generated when you sign up. You can find it in the Ravenhub app in the top right corner next to the logout button.
subscriberId
The unique ID that you use to identify the user who is logged in. This is how we know who to send notifications to.
You should now see the notification center bell in your app. If you click on it, there won’t be any notifications yet.