diff options
author | wout <wout@impinc.co.uk> | 2014-02-03 22:05:28 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-03 22:05:28 +0100 |
commit | ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c (patch) | |
tree | 9faac42eef9e4cd79eee8e0be95864d18f578faf /README.md | |
parent | 189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6 (diff) | |
download | svg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.tar.gz svg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.zip |
Wrapping delay in SVG.Number
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1205,7 +1205,7 @@ rect.animate(2000, '>', 1000).attr({ fill: '#f03' }) Alternatively you can pass an object as the first argument: ```javascript -rect.animate({ ease: '<', delay: 1500 }).attr({ fill: '#f03' }) +rect.animate({ ease: '<', delay: '1.5s' }).attr({ fill: '#f03' }) ``` By default `duration` will be set to `1000`, `ease` will be set to `<>`. |