Accordion Future Plans
Roadmap
Setup
Using DIVs
Using a Tab Component, with automatic detection
Modes
Single-item mode. One panel open at a time
Multi-item mode. Ability to open multiple items
Orientation
Vertical or horizontal, defined 100% by your open-state and closed-state classes
Animations for open/close
None
Considering some means to support WF Interactions, or else GSAP themes.
Dynamic initialization
Select on # or query param, and scroll-to
JavaScript API
Methods
Programmatic Navigation
Navigate to slide number, first, last, next, and prev
nextLoop prevLoop
Add / remove / reorder slides
Considering
Events
Item changed event
Occurs on any slide change
Will reconsider how this should work in multi-item mode
Item can change event
Can open, can close, etc. Give dev the ability to reject an open or close request.
Last updated