-
Notifications
You must be signed in to change notification settings - Fork 72
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
Opened and closed events #246
Comments
you mean trigger some events on the opener tag to indicates wher we are in the popin? |
More like a global event like "hey there was an modal opened, if you are interested in doing whatever you want to do (like initializing some advanced java stuff inside the modal)". |
As the events aer bubling from bottom to top, it should work as you excpect. |
You can see an example using it here: http://nyromodal.nyrodev.com/testBind.php The code used show that you'll be able to bind directly on the opener, or in a more globaly place, in the body:
Every single call to the callFilter will be triggered, meaning that you can listen for every nyroModal event. |
It would be nice to have some events we could just grab with jQuery somehow.
and maybe "advanced" ones like:
I know you got those callbacks for that, but they are kind of a hassle in moular js programming... where I got some late bind/execution of JS code etc.
The text was updated successfully, but these errors were encountered: