diff options
author | wout <wout@impinc.co.uk> | 2013-01-03 22:29:28 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-03 22:29:28 +0100 |
commit | 34386e3888b27d6f5bea9eb02ea55284f6be5da0 (patch) | |
tree | 3e6584a71fa466e3db3b68d566740a768f9f1be7 /README.md | |
parent | 99c2d41a80658ff0c0d381ba215ff826b5d99a55 (diff) | |
download | svg.js-34386e3888b27d6f5bea9eb02ea55284f6be5da0.tar.gz svg.js-34386e3888b27d6f5bea9eb02ea55284f6be5da0.zip |
Fix in SVG.FX
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -313,9 +313,9 @@ And the `center()` method: rect.animate().center(200, 200); ``` -If you include the sugar.js module, `fill()`, `stroke()`, `animate()` and `skwe()` will be available as well: +If you include the sugar.js module, `rotate()` and `skew()` will be available as well: ```javascript -rect.animate().fill({ color: '#f03' }).stroke({ width: 10 }); +rect.animate().rotate(45).skew(25, 0); ``` Animations can be stopped in to ways. @@ -337,7 +337,7 @@ rect.animate().center(200, 200); Finally, you can add callback methods using `after()`: ```javascript rect.animate(3000).move(100, 100).after(function() { - this.animate().fill({ color: '#f06' }); + this.animate().attr({ fill: '#f06' }); }); ``` |