eolant / vuetify-toast-snackbar

Basic Vue toast service that uses Vuetify Snackbar component.
MIT License
128 stars 36 forks source link

Can the toast be queued? #7

Closed jampack closed 5 years ago

jampack commented 5 years ago

As we can call the toast from anywhere in case multiple toasts are displayed the old ones vanish as soon as new one is created

eolant commented 5 years ago

@akkhan20 I've added optional property to toast queueable: false if it's true Toast will be added to the queue. It's also possible to mix both types. Not queueable will close existing toast and be displayed first. Hope this solves this issue for you.