How to get accordion to close when another one is opned?

How do I get an already open accordion to close when another one is opened?

1 Like

I would have a variable called “openAccordian”

I would give each accordion it’s own specific ID

I would bind the “openness” to whatever accordions I’d is stored in “openAxxordian”

openAccordian = this accordions ID

1 Like