Functiondojo.fx.slideTo

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

Returns an animation that will slide "node" defined in args Object from its current position to the position defined by (args.left, args.top).

Usage

function (/*Object?*/ args) (view source)
parametertypedescription
argsObjectOptional.

Examples

Example 1

dojo.fx.slideTo({ node: node, left:"40", top:"50", unit:"px" }).play()