NovuN
Novu•2y ago
SHG-TV

Improvements on Notification Center (VUE)

Hey everyone,
I had a problem implementing an event listener.
The docs suggest using @notificationClicked, because vue has event binding shortcut which internally results in an event listener with the following name: onNotificationClick.

This results in, that it wont work:
the correct syntax is therefore a variable(function) binding: :notification-clicked="onNotificationClicked"

Feel free to add this to the docs, to keep new users from trying out, until it works 🙂
Was this page helpful?