dojox.fx.easing
dojo.require("dojox.fx.easing");
defined in dojox/fx/easing.js
Easing functions are used to manipulate the iteration through an Animation's Line. Line being the properties of an Animation, and the easing function progresses through that Line determing how quickly (or slowly) it should go. Or more accurately: modify the value of the Line based on the percentage of animation completed.
Examples
Example 1
dojo.require("dojox.fx.easing");
var anim = dojo.fadeOut({
node: 'node',
duration: 2000,
easing: dojox.fx.easing.quadIn
}).play();
FunctionsBack to top
an easing function that pops past the range briefly, and slowly comes back.
An easing function that "bounces" near the beginning of an Animation
An easing function that "bounces" at the beginning and end of the Animation
An easing function that "bounces" near the end of an Animation
An easing function that elasticly snaps around the value, near the beginning and end of the Animation
An easing function that elasticly snaps around the target value, near the end of the Animation
A linear easing function