dojox.fx.slideBy
dojo.require("dojox.fx._base");
defined in dojox/fx/_base.js
Returns an animation that will slide a node (args.node) from it's current position to it's current posision plus the numbers defined in args.top and args.left. standard dojo.fx mixin's apply.
Usage
function (/*Object*/ args) (view source)
parameter | type | description |
---|---|---|
args | Object |
Examples
Example 1
// slide domNode 50px down, and 22px left
dojox.fx.slideBy({
node: domNode, duration:400,
top: 50, left: -22
}).play();