Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clean up in your widget
_destroy: function () {
// Use the destroy method to reverse everything your plugin has applied
// Remove any classes, including CSS framework classes, that you applied
this.filterElems.removeClass("ui-widget-content ui-helper-hidden ui-state-active " + this.options.className);
return this._super();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment