JS web module which makes items collapsible (eg, mobile menu, or FAQ list).
Code should document itself, but brief description below:
- Target components by using data attributes (selectors object)
- Add other data attributes to provide options (attributes object)
- Classes are applied at certain point for usage (classes object)
Separate SCSS file may be provided with this module.