dojo.NodeList.fadeOut
dojo.require("dojo.NodeList-fx");
defined in dojo/NodeList-fx.js
fade out all elements of this NodeList. Returns an instance of dojo._Animation
Usage
function (args) (view source)
parameter | type | description |
---|---|---|
args |
Examples
Example 1
Fade out all elements with class "zork":
dojo.query(".zork").fadeOut().play();
Example 2
Fade them on a delay and do something at the end:
var fo = dojo.query(".zork").fadeOut();
dojo.connect(fo, "onEnd", function(){ /*...*/ });
fo.play();