I'm attempting to use Vuetify 2.3.5 to programmatically control the opening and closing of expansion panels.
<v-expansion-panels accordion>
<v-expansion-panel v-for="(item,i) in faqs" :key="i">
<div class="expansion-panel-header-container">
<div class="handle"><v-icon>$drag_icon</v-icon></div>
<v-expansion-panel-header hide-actions expand-icon="$edit">
<span class="font-weight-bold">{{item.question}}</span>
</v-expansion-panel-header>
<div class="action-icons">
<v-icon @click.native="doSomething">$edit</v-icon>
<v-icon>$delete</v-icon>
</div>
</div>
<v-expansion-panel-content>
CONTENT GOES HERE
</v-expansion-panel-content>
<v-expansion-panels accordion>
At the moment, clicking anywhere on the v-expansion-panel-header triggers the panel to open and close. I want to specifically trigger this action by clicking on
<v-icon @click.native="doSomething">$edit</v-icon>
instead.
Unfortunately, there doesn't seem to be any documentation available on how to achieve this.
If anyone has any insights on how I could implement this feature, I'd greatly appreciate it!