Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Add : a maximum number of toast to the container & clear all toast possibility #78

Open
AaronActu opened this issue Feb 21, 2021 · 0 comments

Comments

@AaronActu
Copy link

It would be really great if we could have a parameter to specify a maximum number of toast to the toast-container 🥇

Example : if I've instantiated 3 toasts and I set a limit of 1 toast per container, then the other two toasts are "pending". Once the toast n°1 has expired, it's the turn of the n°2, and so on...

Also, it'd be great to have a method to remove all the toast in a container (enqueued or not).

Thanks in advance !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant