You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/guide/transitioning-state.md
+20-40Lines changed: 20 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,10 @@ All of these are either already stored as raw numbers or can be converted into n
15
15
16
16
## Animating State with Watchers
17
17
18
-
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 [Tween.js](https://github.com/tweenjs/tween.js):
18
+
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/):
When you update the number, the change is animated below the input. This makes for a nice demo, but what about something that isn't directly stored as a number, like any valid CSS color for example? Here's how we could accomplish this with the addition of[Color.js](https://github.com/brehaut/color-js):
76
+
When you update the number, the change is animated below the input. This makes for a nice demo, but what about something that isn't directly stored as a number, like any valid CSS color for example? Here's how we could accomplish this with [Tween.js](https://github.com/tweenjs/tween.js) and[Color.js](https://github.com/brehaut/color-js):
0 commit comments