_timeoutCount
- private static object
Internal counter
clickPixelThresh
- static int
The number of pixels that the mouse needs to move after the
mousedown before the drag is initiated. Default=3;
clickTimeout
- private static Object
Timeout used for the click time threshold
clickTimeThresh
- static int
The number of milliseconds after the mousedown event to initiate the
drag if we don't get a mouseup event. Default=1000
deltaX
- private static int
the X distance between the cursor and the object being dragged
deltaY
- private static int
the Y distance between the cursor and the object being dragged
dragCurrent
- private static DragDrop
the DragDrop object that is currently being dragged
dragOvers
- private static Array
the DragDrop object(s) that are being hovered over
dragThreshMet
- private static boolean
Flag that indicates that either the drag pixel threshold or the
mousdown time threshold has been met
elementCache
- private static object
A cache of DOM elements
handleIds
- private static {string: string}
Array of element ids defined as drag handles. Used to determine
if the element that generated the mousedown event is actually the
handle and not the html element itself.
ids
- private static {string: string}
Two dimensional Array of registered DragDrop objects. The first
dimension is the DragDrop item group, the second the DragDrop
object.
initialized
- private static object
Internal flag that is set to true when drag and drop has been
intialized
interactionInfo
- static object
Provides additional information about the the current set of
interactions. Can be accessed from the event handlers. It
contains the following properties:
out: onDragOut interactions
enter: onDragEnter interactions
over: onDragOver interactions
drop: onDragDrop interactions
point: The location of the cursor
draggedRegion: The location of dragged element at the time
of the interaction
sourceRegion: The location of the source elemtn at the time
of the interaction
validDrop: boolean
INTERSECT
- static final int
In intersect mode, drag and drop interaction is defined by the
cursor position or the amount of overlap of two or more drag and
drop objects.
locationCache
- private static object
Location cache that is set for all drag drop objects when a drag is
initiated, cleared when the drag is finished.
locked
- private static object
All drag and drop can be disabled.
mode
- static int
The current drag and drop mode. Default: POINT
POINT
- static final int
In point mode, drag and drop interaction is defined by the
location of the cursor during the drag/drop
preventDefault
- static boolean
Flag to determine if we should prevent the default behavior of the
events we define. By default this is true, but this can be set to
false if you need the default behavior (not recommended)
startX
- private static int
The X position of the mousedown event stored for later use when a
drag threshold is met.
startY
- private static int
The Y position of the mousedown event stored for later use when a
drag threshold is met.
stopPropagation
- static boolean
Flag to determine if we should stop the propagation of the events
we generate. This is true by default but you may want to set it to
false if the html element contains other features that require the
mouse click.
STRICT_INTERSECT
- static final int
In intersect mode, drag and drop interaction is defined only by the
overlap of two or more drag and drop objects.
useCache
- static boolean
Set useCache to false if you want to force object the lookup of each
drag and drop linked element constantly during a drag.