3.7.1
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 usingwindow.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