Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 411 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 411 Bytes

Collapsible

JS web module which makes items collapsible (eg, mobile menu, or FAQ list).

Usage

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.