Enable all stacked toasts to be closed
kimkong88 opened this issue · 3 comments
Currently you can stack toasts in toaster, but there is no way of accessing opened up toast as far as I know.
Please include API to close all toasts!
Thank you.
or even a way to close a toast programmatically.. how do I even keep track of opened toasts? and mutate what's already been rendered?
Here is how I solved this problem despite of core ui not having this functionality.
save ref to an array... and when user clear all, then loop through array and give display "none" to each element. Please provide in house functionality for this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions