Class plugin.DragPlugin
- extends Drag
This is a simple Drag plugin that can be attached to a Node via the plug method.
Properties
NS
- {String}
The Drag instance will be placed on the Node instance under the dd namespace. It can be accessed via Node.dd;
Properties inherited from Drag:
_clickTimeout,
_dragThreshMet,
_endTime,
_ev_md,
_fromTimeout,
_groups,
_handles,
_ieSelectBack,
_invalids,
_invalidsDefault,
_startTime,
deltaXY,
lastXY,
mouseXY,
nodeXY,
region,
startXY,
target
Properties inherited from Base:
Methods inherited from Attribute:
_cloneAttVal,
_defAttSet,
_fireAttChange,
_getSubAttVal,
_initAtts,
_initAttVal,
_set,
_setSubAttVal,
_splitAttrValues,
addAtt,
get,
getAtts,
on,
removeAtt,
reset,
set,
setAtts
Methods inherited from Drag:
_align,
_createEvents,
_fixDragStart,
_fixIEMouseDown,
_fixIEMouseUp,
_handleMouseDown,
_handleMouseDownEvent,
_handleMouseUp,
_handleTarget,
_ieSelectFix,
_move,
_moveNode,
_prep,
_setStartPosition,
_timeoutCheck,
_unprep,
addHandle,
addInvalid,
addToGroup,
destructor,
end,
initializer,
removeFromGroup,
removeHandle,
removeInvalid,
start,
stopDrag,
validClick
Methods inherited from Base:
_defDestroyFn,
_defInitFn,
_destroyHierarchy,
_getClasses,
_initHierarchy,
_prefixEvtType,
after,
destroy,
fire,
init,
publish,
subscribe,
toString,
unsubscribe,
unsubscribeAll
Events inherited from Drag:
activeHandleChange,
bubblesChange,
clickPixelThreshChange,
clickTimeThreshChange,
dataChange,
drag:addHandle,
drag:addInvalid,
drag:afterMouseDown,
drag:drag,
drag:drophit,
drag:dropmiss,
drag:end,
drag:enter,
drag:exit
drag:mouseDown
drag:over
drag:removeHandle
drag:removeInvalid
drag:start
draggingChange
dragModeChange
dragNodeChange
groupsChange
handlesChange
lockChange
moveChange
nodeChange
offsetNodeChange
primaryButtonOnlyChange
targetChange
useShimChange
Events inherited from Base:
Configuration attributes inherited from Drag:
activeHandle,
bubbles,
clickPixelThresh,
clickTimeThresh,
data,
dragging,
dragMode,
dragNode,
groups,
handles,
lock,
move,
node,
offsetNode
primaryButtonOnly
target
useShim
Configuration attributes inherited from Base: