aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d9d3237..ab1ee8a 100644
--- a/README.md
+++ b/README.md
@@ -410,14 +410,14 @@ rect.animate().center(200, 200)
```
### Animating along keyframes
-If you want to perform your own actions along and during the animations you can use the `along()` method:
+If you want to perform your own actions during the animations you can use the `during()` method:
```javascript
var position
, from = 100
, to = 300
-rect.animate(3000).move(100, 100).along(function(pos) {
+rect.animate(3000).move(100, 100).during(function(pos) {
position = from + (to - from) * pos
})
```