search

goog.fx.DragScrollSupport

Provided By
Extends
All Implemented Interfaces

A scroll support class. Currently this class will automatically scroll a scrollable container node and scroll it by a fixed amount at a timed interval when the mouse is moved above or below the container or in vertical margin areas. Intended for use in drag and drop. This could potentially be made more general and could support horizontal scrolling.

new DragScrollSupport( containerNode, opt_margin, opt_externalMouseMoveTracking )

Parameters
containerNode(Element|null)

A container that can be scrolled.

opt_marginnumber=

Optional margin to use while scrolling.

opt_externalMouseMoveTrackingboolean=

Whether mouse move events are tracked externally by the client object which calls the mouse move event handler, useful when events are generated for more than one source element and/or are not real mousemove events.

See Also

../demos/dragscrollsupport.html

Instance Methods

Instance Properties

Static Properties