Function
A class that takes a complex property such as clip style: rect(10px 30px 10px 50px), and breaks it into seperate animatable units. The object has a getValue() that will return a string with the modified units.
Function
Returns a string with teh same integrity as the original star and end, but with the modified units.
String
Function
Returns an object that stores the numeric value and units of the beggining and ending properties.
Function
Helper function that splits a stringified set of properties into individual units.
String
Function
Helper function that returns the numeric verion of the string property (or dojo.Color object) and the unit in which it was defined.
Object
Function
An extension of dojo.animateProperty which adds functionality that animates a "complex property". The primary example is the clip style: rect(10px 30px 10px 50px). Note this can also be used with (and is actually intended for) CSS3 properties, such as transform: transform: rotate(10deg) translateX(0px)
The standard animation doesn't know what to do with something like rect(...). This class identifies complex properties by they being a string and having parenthesis. If so, that property is made into a dojox.fx._Complex object and the getValue() is obtained from there.
dojo.Animation
var ani = dojo.animateProperty({ node:dojo.byId("myDiv"), duration:600, properties:{ clip:{start:'rect(0px 50px 50px 0px)', end:'rect(10px 30px 30px 10px)'} } }).play();
Object
Object
Object
Object