diff options
author | wout <wout@impinc.co.uk> | 2014-07-30 11:08:39 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-07-30 11:08:39 +0200 |
commit | 4b54c4aa795e95fda3fd83edf8ed8dec76970ac1 (patch) | |
tree | 5ad385b89de7a4fde9d853d7b95b12e8d3798300 /README.md | |
parent | 725828a6fc3ad423b4bd61710fe541d9b5feb3a1 (diff) | |
download | svg.js-4b54c4aa795e95fda3fd83edf8ed8dec76970ac1.tar.gz svg.js-4b54c4aa795e95fda3fd83edf8ed8dec76970ac1.zip |
Updated README
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1790,10 +1790,10 @@ __`returns`: `SVG.FX`__ Say you want to control the position of an animation with an external event, then the `at()` method will proove very useful: ```javascript -var animate = draw.rect(100, 100).move(50, 50).animate('=').move(200, 200) +var animation = draw.rect(100, 100).move(50, 50).animate('=').move(200, 200) document.onmousemove = function(event) { - animate.at(event.clientX / 1000) + animation.at(event.clientX / 1000) } ``` |