We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Showing multiple toasts results in them displayed all at once.
What is the expected behavior?
I want to queue their entrance by adding delay.
E.g. Toast 1 -> show now Toast 2 -> show after 500ms etc.
toast("I am shown now") toast("I am shown later", {delay: 500})
Thanks for making this awesome library!
The text was updated successfully, but these errors were encountered:
Hello @curiousily,
Sorry for the late reply. You could do this with setTimeout:
setTimeout
toast("I am shown now"); setTimeout(() =>toast("I am shown later"), 500);
Am I missing something ? I admit that having a property like delay is more elegant.
Sorry, something went wrong.
@curiousily , So I decided to add an option to enable that. However I decided to call it wait instead of delay. What do you think about the api ?
wait
delay
toast('Hello', { wait: 500 })
hi @fkhadra , I didn't find any 'wait' option in the api. is it still an option in v8.0.2?
fkhadra
No branches or pull requests
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Showing multiple toasts results in them displayed all at once.
What is the expected behavior?
I want to queue their entrance by adding delay.
E.g.
Toast 1 -> show now
Toast 2 -> show after 500ms
etc.
Thanks for making this awesome library!
The text was updated successfully, but these errors were encountered: