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
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