dojox.fx.removeClass
dojo.require("dojox.fx.style");
defined in dojox/fx/style.js
Creates an animation that will animate the properties of a node (args.node) to the properties calculated after removing a standard CSS className from a that node.
calls dojo.removeClass(args.cssClass) onEnd of animation
standard dojo._Animation object rules apply.
Usage
function (/*dojox.fx._arg.StyleArgs*/ args) (view source)
parameter | type | description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
args | dojox.fx._arg.StyleArgs | The node and CSS class to use for style manipulations.
|
Examples
Example 1
// animate the removal of "foo" from a node with id="bar"
dojox.fx.removeClass({
node: "bar",
cssClass: "foo"
}).play();