Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clearToast to service #21

Closed
sunilastudillo opened this issue Jul 19, 2016 · 1 comment
Closed

Add clearToast to service #21

sunilastudillo opened this issue Jul 19, 2016 · 1 comment

Comments

@sunilastudillo
Copy link

Need a clear(id) method added to ToastyService. I know there is clearAll() method but I need to be able to clear a single toast from code.

Example:

I'm using a toastyService.wait() toast to display a wait message to the user. The relevant configuration for this toast is:
toastOptions = {
...
showClose: false,
timeout: 0,
...
}

This allows the toast to remain on the screen indefinitely. Now when certain conditions are met, I want to be able to remove that wait toast (and only that toast).

@akserg
Copy link
Owner

akserg commented Jul 25, 2016

Added in 1.8.0

@akserg akserg closed this as completed Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants