cristijora / vue-tabs

Simplified bootstrap tabs
https://cristijora.github.io/vue-tabs/#/
MIT License
251 stars 72 forks source link

tab-change event only on user actions #46

Open bicienzu opened 6 years ago

bicienzu commented 6 years ago

I'm using vuex. I need to change tab programmatically and with user actions (click on tab). Is possible trigger tab-change only for user actions and not when i change it programmatically?
Thanks

cristijora commented 6 years ago

@bicienzu at the moment don't think that's possible. If you need such a thing it can be added as a new event here https://github.com/cristijora/vue-tabs/blob/master/src/components/VueTabs.js#L63

navigateToTab is called only upon click and therefore you can emit a new event there and feel free to open a PR