Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab-change event only on user actions #46

Open
bicienzu opened this issue May 3, 2018 · 1 comment
Open

tab-change event only on user actions #46

bicienzu opened this issue May 3, 2018 · 1 comment

Comments

@bicienzu
Copy link
Contributor

bicienzu commented May 3, 2018

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
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants