0๐
โ
I assume the bootstrap tap is active with a click, otherwise correct me, and Iโll come back with another answer.
// Simulate tab
<tab @click="toggleTabState"></tab>
// Simulate bootstrap element to show
<div v-if="tabIsOpen"></div>
export default {
data() {
return {
tabIsOpen: false
}
},
methods: {
toggleTabState() {
this.tabIsOpen = !this.tabIsOpen
}
}
}
Gonna need some of your HTML to see what else is going on. Are you iterating through a lot of elements with a v-for?
Source:stackexchange.com