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 delay to toast #338

Open
IamGideonIdoko opened this issue Jan 24, 2024 · 0 comments
Open

Add delay to toast #338

IamGideonIdoko opened this issue Jan 24, 2024 · 0 comments

Comments

@IamGideonIdoko
Copy link

It'll be nice to delay a notification from being triggered. A use case is when a notification is to be triggered after a timer is done.

While it's possible to use setTimeout and call toast after the timer ends, it'll be impossible to cancel the toast before the timer ends since the toast ID won't be available until the timer ends.

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

1 participant