aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c4ad657..a85d3df 100644
--- a/README.md
+++ b/README.md
@@ -279,7 +279,7 @@ rect.animate().move(150, 150);
The `animate()` method will take two arguments. The first is `milliseconds`, the second `ease`:
```javascript
-rect.animate(2000, '>').fill({ color: '#f03' });
+rect.animate(2000, '>').attr({ fill: '#f03' });
```
By default `milliseconds` will be set to `1000`, `ease` will be set to `<>`. All available ease types are: