Skip to content

Commit

Permalink
[Doc EN]: transition.md, example 4, add a forgotten instructi… (vue…
Browse files Browse the repository at this point in the history
…js#2500)

* Indent fix (Biggest update ever)

Signed-off-by: Bruno J. S. Lesieur <bruno.lesieur@gmail.com>

* Some line return for consistency

Signed-off-by: MachinisteWeb <bruno.lesieur@gmail.com>

* Align transitions.md example 4 text example with live example

Signed-off-by: MachinisteWeb <bruno.lesieur@gmail.com>
  • Loading branch information
MachinisteWeb committed Feb 27, 2020
1 parent 3334e59 commit 431fba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/v2/guide/transitions.md
Expand Up @@ -479,6 +479,7 @@ new Vue({
methods: {
beforeEnter: function (el) {
el.style.opacity = 0
el.style.transformOrigin = 'left'
},
enter: function (el, done) {
Velocity(el, { opacity: 1, fontSize: '1.4em' }, { duration: 300 })
Expand Down

0 comments on commit 431fba9

Please sign in to comment.