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 destroy method? #43

Open
ktoh opened this issue Jun 18, 2015 · 2 comments
Open

Add destroy method? #43

ktoh opened this issue Jun 18, 2015 · 2 comments

Comments

@ktoh
Copy link

ktoh commented Jun 18, 2015

It would be good (also good plugin practice) to add a destroy() method to remove the hoverIntent bindings on an element or set of elements.

This would take a minimimal amount (3 unminified lines) of code, and the code has already been written here:

While it's possible to just direct users to the StackOverflow question, I think it would be better to include the method inside the plugin to avoid versioning issues in the future, as well as for the sake of promoting plugin modularity (allow for revokable methods).

thanks, this is a great plugin!

@NAlbuquerque
Copy link

Agree!

@usmonster
Copy link
Collaborator

With the newest (yet-unreleased) version of the plugin, the instructions found on stackoverflow are actually no longer valid, so perhaps a proper .destroy() method (or similar) is a good idea. It's definitely under consideration--thanks for the suggestion!

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

3 participants