Skip to content

Commit a30498c

Browse files
authored
Merge pull request #268 from ZHKO1/patch-1
fix example-4 in transitions.md
2 parents 0e49e03 + d684412 commit a30498c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/v2/guide/transitions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ new Vue({
503503
methods: {
504504
beforeEnter: function (el) {
505505
el.style.opacity = 0
506+
el.style.transformOrigin = 'left'
506507
},
507508
enter: function (el, done) {
508509
Velocity(el, { opacity: 1, fontSize: '1.4em' }, { duration: 300 })

0 commit comments

Comments
 (0)