Skip to content

Releases: zipper/collapsable.js

2.0.7

23 Jan 08:47
Compare
Choose a tag to compare
  • when collapsable control anchor is present in HTML and its href attribute is #, then it is replaced with collapsable box id

2.0.6

04 Aug 13:13
Compare
Choose a tag to compare
  • fixup: default expanded box could have been ignored under certain circumstances

2.0.5

27 Jul 09:27
Compare
Choose a tag to compare
  • there could be more than one box per collapsable element, id's are suffixed with index of the box and aria-controls attribute is changed appropriately

2.0.4

14 Sep 11:53
Compare
Choose a tag to compare
  • fixes #10 (empty hash # in url causes JS error in jQuery 3 when used as selector $('#'))

2.0.3

16 Apr 13:12
Compare
Choose a tag to compare
  • fixed JS error when called on empty jQuery object with collapsableAll: false set - #7
  • items are properly collapsed on initialization when combination of collapsableAll and accordion is used (fixes #8)

2.0.2

06 Mar 17:50
Compare
Choose a tag to compare
  • renamed property originalEvent to collapsableEvent, so preventDefault called on expand.collapsable/collapse.collapsable event doesn't prevent that custom event as well

2.0.1

06 Mar 10:38
Compare
Choose a tag to compare
  • renamed option grouped to more recognizable accordion
  • changed default fx value to null for no effect used
  • changed order of executing fx function and class assigning so it doesn't interfere with jQuery effects
  • default value of extLinks.selector to empty string ''
  • move class name option for active external links into classNames
  • destroy function now actually works properly :) some optimizations were done to destroy method apart from making it work
  • when destroy is called, aria attributes are removed as well
  • isExpanded is not a method anymore
  • bugfix of not binding event on control element if it is anchor

Merge pull request #5 from peckadesign/v2.0.0

03 Mar 21:18
Compare
Choose a tag to compare

Plugin has been completely rewritten. Possibly not backward compatible.