-
Notifications
You must be signed in to change notification settings - Fork 132
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
JS API: Is there a way to pass data between dialog.open()
and dialog.on("open")
?
#323
Comments
Hello. Looking at the code, this should work. What problem did you encounter? |
Hi @KittyGiraudel. If this code should work then typing is wrong. Lines 76 to 79 in bc5cd77
Lines 111 to 114 in bc5cd77
|
I see! Then I guess it should just be a matter of updating the typing. Do you want to give that a spin? :) |
Why
open
andhide
methods can't acceptCustomEvent
rather thanEvent
?Problematic example:
Implementing wrapper that will two-way bind dialog's state with URLSearchParams
The text was updated successfully, but these errors were encountered: