summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-03-28 17:49:08 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-03-29 00:18:14 +0200
commit541c6ecc8103313ed0a15a0b4d2593757b231e99 (patch)
treefe4dc1591c9ddc5931458f2757ab3a81c99fb510 /README.md
parent1d0bb73385877d4ae14b175acd78565c48c4092d (diff)
downloadsvg.js-541c6ecc8103313ed0a15a0b4d2593757b231e99.tar.gz
svg.js-541c6ecc8103313ed0a15a0b4d2593757b231e99.zip
fix finishing up correctly with even loops, readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index c284fb4..92ade2c 100644
--- a/README.md
+++ b/README.md
@@ -2198,12 +2198,21 @@ document.onmousemove = function(event) {
```
The value passed as the first argument of `at()` should be a number between `0` and `1`, `0` being the beginning of the animation and `1` being the end. Note that any values below `0` and above `1` will be normalized.
-Note that the value is eased after you set it. The position specifies a position in time.
+Also note that the value is eased after calling the function. Therefore the position specifies a position in time not in space.
_This functionality requires the fx.js module which is included in the default distribution._
__`returns`: `SVG.FX`__
+### target()
+The target method returns the element the animation is applied to:
+
+```javascript
+rect.fx.target() // returns rect
+```
+
+`getter`__`returns`: `SVG.Element`__
+
### situation
The current situation of an animation is stored in the `situation` object: