dojox/fx/scroll (version 1.10)

Summary

Returns an animation that will smooth-scroll to a node

This implementation support either horizontal or vertical scroll, as well as both. In addition, element in iframe can be scrolled to correctly.

Usage

scroll(args);
Parameter Type Description
args Object
  • offset: {x: int, y: int} this will be added to the target position
  • duration: Duration of the animation in milliseconds.
  • win: a node or window object to scroll

See the dojox/fx/scroll reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!