Skip to content

Commit

Permalink
docs:demo update
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj36 committed Aug 31, 2018
1 parent 17760dc commit 53dc866
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,16 @@

<nav class="demo-buttons">
<span v-for="(menu, index) in menus" :key="index">
<a :class="{currentDemo:false}">
{{menu.buttonText}}
</a>
<span v-if="menu.buttonText === 'Slide'">
<a :class="{currentDemo:true}">
{{menu.buttonText}}
</a>
</span>
<span v-else>
<a :class="{currentDemo:false}">
{{menu.buttonText}}
</a>
</span>
</span>
</nav>
Inspired by
Expand All @@ -87,15 +94,15 @@
return {
menus: {
slide: { buttonText: 'Slide' },
stack: { buttonText: 'Stack' },
elastic: { buttonText: 'Elastic' },
bubble: { buttonText: 'Bubble' },
push: { buttonText: 'Push' },
pushRotate: { buttonText: 'Push Rotate' },
scaleDown: { buttonText: 'Scale Down' },
scaleRotate: { buttonText: 'Scale Rotate' },
fallDown: { buttonText: 'Fall Down' },
reveal: { buttonText: 'Reveal' }
stack: { buttonText: 'Stack - (WIP)' },
elastic: { buttonText: 'Elastic - (WIP)' },
bubble: { buttonText: 'Bubble - (WIP)' },
push: { buttonText: 'Push - (WIP)' },
pushRotate: { buttonText: 'Push Rotate - (WIP)' },
scaleDown: { buttonText: 'Scale Down - (WIP)' },
scaleRotate: { buttonText: 'Scale Rotate - (WIP)' },
fallDown: { buttonText: 'Fall Down - (WIP)' },
reveal: { buttonText: 'Reveal - (WIP)' }
},
side: 'left',
currentMenu: 'slide'
Expand Down

0 comments on commit 53dc866

Please sign in to comment.