clickPixelThresh
- static int
The number of pixels that the mouse needs to move after the
mousedown before the drag is initiated. Default=3;
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
dragThreshMet
- private static boolean
Flag that indicates that either the drag pixel threshold or the
mousdown time threshold has been met
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
initialized
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.
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.