Add destroy method?
ktoh opened this issue · comments
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!
Agree!
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!