Skip to content

3.7.1

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Jan 13:40
· 11 commits to master since this release

What's Changed

  • Support for responsive default expanded items (#30). As well as using a class attribute, elements can be expanded by default using data-collapsable-default-expanded-media. This data attribute should contain a media query string (e.g. (min-width: 992px)), which is then evaluated using window.matchMedia. If it matches, the item will also be expanded by default, regardless of class. It is therefore intended to be used without the default expanded class name.

Full Changelog: 3.6.0...3.7.1