learn-vue-tab
learn-vue-tab copied to clipboard
programmatically open a tab?
Is possible to programmatically open a tab?
I need to make a link that would open an specific tab but I didn't found a way to do that.
Thanks!
To programmatically open a tab, you would use selectTab
and pass in the index, to make a link that loads the page with a tab selected, you can maybe add a #{index}
to the URL, and then select that tap when the component is loaded