vue-tabs icon indicating copy to clipboard operation
vue-tabs copied to clipboard

tab-change event only on user actions

Open bicienzu opened this issue 6 years ago • 1 comments

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

bicienzu avatar May 03 '18 14:05 bicienzu

@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

cristijora avatar May 17 '18 10:05 cristijora