From 541c6ecc8103313ed0a15a0b4d2593757b231e99 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 28 Mar 2016 17:49:08 +0200 Subject: fix finishing up correctly with even loops, readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README.md') 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: -- cgit v1.2.3