I’m using PrimeVue 3.5.3
I have an Accordian Component and some AccordianPanel components within that:
<Accordion collapseIcon="pi pi-chevron-down" expandIcon="pi pi-chevron-down" :selectOnFocus="true" @update:activeIndex="update">
<AccordionPanel v-for="category in data" :key="category.name">
I need to detect when the user clicks on an AccordianPanel to expand or collapse it but nothing I do seems to work. I have tried adding the following events to the Accordian but none of them fire when I click on a panel
@update:activeIndex (as in the above example)
@tab-open
@tab-click
What am I doing wrong?
1