mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
toast: add remove method to clear a single message (#4101)
Co-authored-by: Clément Bernard <cbernard@groupeisagri.com>
This commit is contained in:
parent
4bcb9bd14f
commit
cee96884f9
4 changed files with 26 additions and 0 deletions
|
@ -7,6 +7,9 @@ export default {
|
|||
add: (message) => {
|
||||
ToastEventBus.emit('add', message);
|
||||
},
|
||||
remove: (message) => {
|
||||
ToastEventBus.emit('remove', message);
|
||||
},
|
||||
removeGroup: (group) => {
|
||||
ToastEventBus.emit('remove-group', group);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue