aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-03 22:05:28 +0100
committerwout <wout@impinc.co.uk>2014-02-03 22:05:28 +0100
commitce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c (patch)
tree9faac42eef9e4cd79eee8e0be95864d18f578faf /README.md
parent189f009dbb28525f3eb2c0bb7a72312cb6fe4ba6 (diff)
downloadsvg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.tar.gz
svg.js-ce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c.zip
Wrapping delay in SVG.Number
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6cd9caf..1047f02 100644
--- a/README.md
+++ b/README.md
@@ -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 `<>`.