euvl / vue-notification

:icecream: Vue.js 2 library for showing notifications
http://vue-notification.yev.io/
MIT License
2.39k stars 213 forks source link

can't close a notification from a group #229

Closed jack-zhongsj closed 3 years ago

jack-zhongsj commented 3 years ago

wo can only close a notification in a group by slot-scope, but i want to close the notification from another component, it's no way to do it

kyvg commented 3 years ago

You can try this.$notify.close(id), where id is notification id (data-id attribute or <template #body="{item}">). But it is seems like internal API

github-actions[bot] commented 3 years ago

Stale issue message