Properties Methods Events Config Options Direct Link
Observable
  DragTracker

Class Ext.dd.DragTracker

Package:Ext.dd
Defined In:DragTracker.js
Class:DragTracker
Extends:Observable
A DragTracker listens for drag events on an Element and fires events at the start and end of the drag, as well as during the drag. This is useful for components such as Ext.Slider, where there is an element that can be dragged around to change the Slider's value. DragTracker provides a series of template methods that should be overridden to provide functionality in response to detected drag operations. These are onBeforeStart, onStart, onDrag and onEnd. See Ext.Slider's initEvents function for an example implementation.

Config Options

Config OptionsDefined By
 active : Boolean
Defaults to false.
DragTracker
 tolerance : Number
Number of pixels the drag target must be moved before dragging is considered to have started. Defaults to 5.
DragTracker

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

EventDefined By