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"));
				

Resources

Sass File(s)/sass/components/_accordion.scss
JS File(s)/library/accordions2021.js
JS FunctionsSee Above
Locale KeysNone

Accessibility

None at this time.

To Top of page