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
Labels
enhancement New feature or request

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.

@timolins timolins added the enhancement New feature or request label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants