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/method to determine whether to open or not #53

Closed
danb-humaan opened this issue Jun 28, 2016 · 2 comments
Closed

Add event/method to determine whether to open or not #53

danb-humaan opened this issue Jun 28, 2016 · 2 comments

Comments

@danb-humaan
Copy link
Contributor

I propose adding an event during the open call that can be used to determine whether the modal should open. As the logic behind the event would be performed in the event itself, rather than in Modaal, so this would increase the filesize by only a fraction.

Ideally it should take either a boolean value, or a closure to be called.

I can tackle this later during the week, pending @danhumaan's thoughts.

@danhumaan
Copy link
Collaborator

Thanks mate, new version will be rolled out shortly.

@danhumaan
Copy link
Collaborator

Thanks mate, this has been rolled out in the latest release now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants