Browse files

Describe easing function

  • Loading branch information...
1 parent fee9632 commit a1b37ca09c43fff8f04a29fc6ccef3c7c60579ae @Phrogz committed Mar 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 methods/d3-d3-ease.yaml
5 methods/d3-d3-ease.yaml
@@ -3,6 +3,11 @@ method: d3/d3/ease
scope: self
returns: js/Function
summary: Retrieve a predefined easing function.
+details: >
+ The easing function returned by this method (or that you may supply to [`transition.ease()`](d3/Transition/ease§func)
+ will be supplied the percent of time through the transition (in the range `[0,1]`) and is expected to yield the percent of the transition that should be shown (again in the range `[0,1]`).
+ As described in the official documentation:<br/>The returned value is typically in the range [0,1] as well, but may extend slightly beyond this range for certain easing functions, such as "elastic"._
- d3/Transition/ease§value

0 comments on commit a1b37ca

Please sign in to comment.