paper-collapse icon indicating copy to clipboard operation
paper-collapse copied to clipboard

Changed Code to use jQuery lightweight plugin boilerplate.

Open bilalsoomro opened this issue 9 years ago • 0 comments

Reason for changes:

  1. It fixes multiple instantiations bug. The following can be called again to refresh plugin if new items added programmatically. Previously, the existing paper cards would open and close if the method below was called. $('.collapse-card').paperCollapse();

  2. Added destroy method. $('.collapse-card').paperCollapse('destroy');

TODO: change min version as well

bilalsoomro avatar Mar 30 '15 14:03 bilalsoomro