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

feat: allow tab to be selected by URL's query param

Open Tchoupinax opened this issue 3 years ago • 1 comments

Hello,

I add the feature to allow tab to be select a tab by a query parameter at the mount of the component.

  • When you click on a tab, the tab is written on the url.
  • When you mount the component, if a query param tab=foo is present, the tab foo will be automatically selected.

Tell me if you have any feedback. Thank you for your work and have a nice day!

Tchoupinax avatar Dec 23 '21 15:12 Tchoupinax

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/egoist/vue-slim-tabs/Gnr4xR1iDq8EUhoB7m7JC6NYg6JA
✅ Preview: https://vue-slim-tabs-git-fork-tchoupinax-master-egoist.vercel.app

vercel[bot] avatar Dec 23 '21 15:12 vercel[bot]