Functiondojox.fx._getCalculatedStyleChanges

dojo.require("dojox.fx.style");
defined in dojox/fx/style.js

calculate and normalize(?) the differences between two states of a node (args.node) by quickly adding or removing a class, and iterateing over the results of dojox.fx._getStyleSnapshot()

Usage

function (/*dojox.fx._arg.StyleArgs*/ args, /*Boolean*/ addClass) (view source)
parametertypedescription
argsdojox.fx._arg.StyleArgsThe node and CSS class to use for style manipulations.
fieldtypedescription
.cssClassStringThe class to use during the manipulation
.nodeDOMNodeThe node to manipulate
addClassBooleantrue to calculate what adding a class would do, false to calculate what removing the class would do