-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
First off, excellent plugin.
It would be very nice to be able to remove all collapse click handlers and expand all of the collapsed items programmatically, perhaps like $("myelement").collapse("destroy");
My use case is for a responsive site. On small screens I collapse all of the sections, similar to mobile Wikipedia. On larger screens all of the sections are open, similar to desktop Wikipedia. On large screens I don't want the user to be able collapse sections so I need to unbind all of those click handlers.
Really the destroy method would undo everything that the plugin has done earlier, e.g., remove ARIA attributes, remove elements that were created, unbind events, etc.
Reactions are currently unavailable