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

added more events, ability to unitialize #33

Merged
merged 2 commits into from
Feb 17, 2014
Merged

Conversation

ivankravchenko
Copy link
Contributor

Hello Hakim. Thanks for such cool thing.

Due to problems, that meny (it's CSS transforms and other render-related things) introduces into DOM, I've written .destroy() method, that brings back original DOM state, styles and unbinds events. It's actually not so useful with touch events and threshold option, but makes meny usable on 'fat' webpages.
Also added closed and opened events for convenience. I'm using 'closed' event to destroy meny and 'opened' event for accurately producing magic after meny is triggered.

@hakimel hakimel merged commit 12584f2 into hakimel:master Feb 17, 2014
@hakimel
Copy link
Owner

hakimel commented Feb 17, 2014

Great stuff, thanks. I've merged this and bumped the version of Meny to 1.4.0.

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.

2 participants