fx.easing

dojo/fx.easing

Summary

Collection of easing functions to use beyond the default dojo._defaultEasing function.

Easing functions are used to manipulate the iteration through an dojo.Animations _Line. _Line being the properties of an Animation, and the easing function progresses through that Line determining how quickly (or slowly) it should go. Or more accurately: modify the value of the _Line based on the percentage of animation completed.

All functions follow a simple naming convention of "ease type" + "when". If the name of the function ends in Out, the easing described appears towards the end of the animation. "In" means during the beginning, and InOut means both ranges of the Animation will applied, both beginning and end.

One does not call the easing function directly, it must be passed to the easing property of an animation.