Skip to content

Instantly share code, notes, and snippets.

@andboson
Created August 20, 2016 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andboson/42d9f78ae5079394df3d5342c6205852 to your computer and use it in GitHub Desktop.
Save andboson/42d9f78ae5079394df3d5342c6205852 to your computer and use it in GitHub Desktop.
<div class="tabs">
<ul>
<li v-for="int in 2" class="ui-tabs-tab ui-corner-top ui-state-default ui-tab"
v-bind:class="[ picked == $index ? 'ui-state-active' : '']">
<label class="ui-tabs-anchor">Tab-${ $index }
<input type="radio" name="tabs" value="${ $index }" v-model="picked" v-show="false">
</label>
</li>
</ul>
<div v-for="w_type in wizard_types" v-show="( picked == $index )">
<p>tab content</p>
tab-${ $index }
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment