Open andrisole92 opened 6 years ago
Read the documentation (README.md) and you will see that there are methods: open, close and toggle on an Accordion.
open
close
toggle
Accordion
That should be all you need to know to be able to implement this yourself.
Try keeping your Accordions in a list and loop over your list and close all of them except the just recently clicked one when an item is clicked.
@Zomis can you show the example code for this logic
Read the documentation (README.md) and you will see that there are methods:
open
,close
andtoggle
on anAccordion
.That should be all you need to know to be able to implement this yourself.
Try keeping your
Accordion
s in a list and loop over your list and close all of them except the just recently clicked one when an item is clicked.