Accordions
Accordion Javascript
Methods
init()
const accordions = new getAccordions4i(),
wrapper = document.querySelector("#mainContent");
accordions.init(wrapper);
open()
accordions.open(document.getElementById("SaleSection"));
close()
accordions.close(document.getElementById("SaleSection"));
openAll()
accordions.openAll(document.querySelector("#mainContent"));
closeAll()
accordions.closeAll(document.querySelector("#mainContent"));
Notes
See Accordion Component.
Resources
Sass File(s) | /sass/components/_accordion.scss |
---|---|
JS File(s) | /library/accordions2021.js |
JS Functions | See Above |
Locale Keys | None |
Accessibility
None at this time.