shakee93 / vue-toasted

🖖 Responsive Touch Compatible Toast plugin for VueJS 2+
https://shakee93.github.io/vue-toasted/
MIT License
2.21k stars 194 forks source link

How to detect if there's an active toast #157

Closed liyasthomas closed 4 years ago

liyasthomas commented 4 years ago

Is there any event triggered to detect whether if there any active toast? If so, it's not mentioned in docs.

I think it should be programmatically able to detect active toast rather than parse DOM to find toast element.

jdbdnz commented 4 years ago

You can see active toasts throughthis.$toasted.toasts.