Skip to content

Commit

Permalink
Add appear to transitions in demo
Browse files Browse the repository at this point in the history
Adjust duration to 500ms
  • Loading branch information
cristijora committed Dec 30, 2017
1 parent 3e5508c commit e9974bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</header>
<div class="main-content">
<div class="transition-wrapper">
<component :is="kebab(transitionName)" :duration="duration">
<component :is="kebab(transitionName)" :duration="duration" appear>
<div v-show="show">
<div class="box">
<p>{{transitionName}}</p>
Expand All @@ -34,8 +34,8 @@

</el-select>
<el-input-number :step="100" v-model="duration" placeholder="Duration"></el-input-number>
<button class="btn btn-outline" v-tippy="codeOptions">Code</button>
<button class="btn" @click="toggle">Trigger</button>
<button class="btn btn-outline" v-tippy="codeOptions">Code</button>
</div>

</div>
Expand Down Expand Up @@ -143,7 +143,7 @@
transitionGroups: ['fade-transition-group'],
selected: null,
show: true,
duration: 300,
duration: 500,
transitionName: 'FadeTransition',
transitionGroupName: 'fade-transition-group'
}
Expand Down

0 comments on commit e9974bf

Please sign in to comment.