Function
The paramters passed to the timeline animation. Includes: keys: Array An array of objects, with style properties and values. duration: Duration of the animation in milliseconds. Defaults to 1000.
DomNode The DomNode or id to be animated.
An add-on to dojo.fx that provides the ability to create a complex property animation based on an array of "keyframes".
The Timeline is a replacement for the default dojo._Line. Instead of _Line.getValue returning a float between 0-1, _Timeline.getValue returns an object with all properties and their current values. A property does not have to appear in every keyframe. As in the example below, "height" is transitioned from the first keyframe to the third. "width" is transitioned from the first to the second to the third. Each keyframe can accept the following custom properties: step: String The start, finish or percentage that this keyframe represents. Allowed parameters are: 0%-100% from (same as 0%, used to conform with the Webkit animation spec) to (same as 100%, used to conform with the Webkit animation spec) ease: String The string name of a dojo.fx.easing ease. Defaults to "linear". Use the suffix name of the ease, like: "quadIn", not: "dojo.fx.quadIn".
dojo.Animation
var keys = [ { step:"0px", ease:"quadInOut", width:"50px", height:"50px", },{ step:"25%", width:"190px" },{ step:"100%", width:"10px", height:"200px", } ]; ani = dojox.fx.animateTimeline({keys:keys, duration:2000}, "myDiv").play();
Function
The dojox.fx._Timeline object from which an instance is created
Function
An internally used function that converts the keyframes as used in the example above into a series of key values which is what is used in the animation parsing.
Object
Function
Replaces the native getValue in dojo.fx.Animation. Returns an object with all propeties used in the animation and the property's current value
Object
Object
Object
Object