diff --git a/src/v2/guide/transitioning-state.md b/src/v2/guide/transitioning-state.md index 8e485c6dab..a9a4e117b0 100644 --- a/src/v2/guide/transitioning-state.md +++ b/src/v2/guide/transitioning-state.md @@ -18,7 +18,7 @@ All of these are either already stored as raw numbers or can be converted into n Watchers allow us to animate changes of any numerical property into another property. That may sound complicated in the abstract, so let's dive into an example using [GreenSock](https://greensock.com/): ``` html - +
{{ animatedNumber }}
@@ -66,7 +66,7 @@ new Vue({ }, watch: { number: function(newValue) { - TweenLite.to(this.$data, 0.5, { tweenedNumber: newValue }); + gsap.to(this.$data, { duration: 0.5, tweenedNumber: newValue }); } } })