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 event which fires after fade animation is complete #122

Closed
paaatrick opened this issue Oct 6, 2015 · 0 comments
Closed

Add event which fires after fade animation is complete #122

paaatrick opened this issue Oct 6, 2015 · 0 comments

Comments

@paaatrick
Copy link
Contributor

I'd like to do some cleanup work after the modal is completely hidden. I tried using the $.modal.CLOSE event, but changes made in that event's callback are visible while the modal is fading out. Here is an example: http:https://jsfiddle.net/p4o3ycew/1/

You can see that the title goes blank as the modal is closing.

Perhaps an event like $.modal.AFTER_CLOSE could be added which fires after the fade animation is finished.

@kylefox kylefox closed this as completed in fc55c9e Oct 9, 2015
kylefox added a commit that referenced this issue Oct 9, 2015
Add AFTER_CLOSE event (fixes #122)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant