Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Support for responsive default expanded items
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.
- Loading branch information