Skip to content

Commit

Permalink
update readme accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
everdimension committed Oct 28, 2015
1 parent 37fc59a commit 1da2c34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Animate an element `sourceElement` onto `targetElement`.
* `options` - A map of additional options to control the animation behaviour.
* `duration` - Duration (in seconds) of animation. Default is `0.3` seconds.
* `targetShowDuration` - Duration (in seconds) of `targetElement` to become visible, if hidden initially. The library will automatically try to figure this out from the element's computed styles. Default is `0` seconds.
* `extraTransitionDuration` - Extra duration (in seconds) of `targetElement` to provide visual continuity between the animation and the rendering of the `targetElement`. Default is `1` second.
* `relativeToWindow` - Set to true if your target element is fixed positioned in the window. Default is relative to document (works good with normal elements).
* `callback` - Optional callback to execute after animation completes.

Expand Down

0 comments on commit 1da2c34

Please sign in to comment.