podio / jquery-mentions-input

MIT License
985 stars 333 forks source link

Add destroy method? #132

Open ktoh opened 9 years ago

ktoh commented 9 years ago

It's conventional for jQuery widgets to have a 'destroy' method which unbinds the widget and removes data associated with (in this case jquery-mentions).

This can help reduce memory leaks, and also ensures the pluggable nature of the widget logic.

I haven't found something like this in the mentions-input code. Is there a way to effectively unbind and destroy the wdiget?

thanks!

Jamie452 commented 9 years ago

+1 desperately need this at the moment as my single page app has memory leaks caused by this plugin when instantiating multiple instances

brunogemelli commented 9 years ago

+1

wunsjoshi commented 8 years ago

Really need Destroy() method.

xitude commented 7 years ago

+1