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

Code Cleanup and Added Close Callback Function #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gabrielosorio
Copy link

Hey! Really like the simpleness of your plugin :)

On a project we were using your modal to open a video box. On close we needed to reset the video to keep it from playing and saving resources. Being what I found a common scenario I decided to fork it and add a callback after the close event.

This pull request is in case you like the implementation and wish to include it.

I also made some minimum clean-ups and code refactoring.

Credit is stated to you on future uses of my fork.

Hope you like it!
Gabe

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

Successfully merging this pull request may close these issues.

1 participant