-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Send Updates/Events #46
Comments
I mean, we can close the toast when u click on a button, and check if the toast has been popped from the main component, but is there a better way to do that where we can send multiple events?? |
Yup, there are some use-cases (like event dispatching/forwarding) that will be better handled in the next major release. There's been tons of changes to Svelte, particularly in features and patterns, since this repo was first released. 😦 Meanwhile, does the onpop() callback help your use-case? |
Yup, it does satisfies my use case! Thanks a lot man :D |
How would I send custom events from my custom notification component, and how do I receive it from my main component? Thanks in advance!
The text was updated successfully, but these errors were encountered: