Reputation: 8560
Self-explanatory in title: how to add a button or a link inside the header of the vuetify expansion panel component?
When clicking the link or button, the expansion panel default behavior should not engage.
Upvotes: 10
Views: 7353
Reputation: 712
Using @click.native.stop Example
<v-btn fab white small color="white" class="button-payment"
@click.native.stop="onDoSomeThing">Do something</v-btn>
Upvotes: 11
Reputation: 1751
By using @click.native.stop
on button or link inside expansion panel header it will trigger your click and will prevent the default behavior of expansion panel.
Upvotes: 6