Class Plugin.Drag
- extends DD.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 Base:
Properties inherited from DD.Drag:
_clickTimeout,
_dragThreshMet,
_endTime,
_ev_md,
_fromTimeout,
_groups,
_handles,
_ieSelectBack,
_invalids,
_invalidsDefault,
_startTime,
actXY,
deltaXY,
lastXY,
mouseXY,
nodeXY,
realXY,
region,
startXY,
target
Methods inherited from EventTarget:
_getType,
_parseType,
addTarget,
after,
before,
bubble,
detach,
detachAll,
fire,
getEvent,
on,
publish,
removeTarget,
subscribe,
unsubscribe,
unsubscribeAll
Methods inherited from Base:
_aggregateAttrs,
_defDestroyFn,
_defInitFn,
_destroyHierarchy,
_filterAttrCfs,
_getAttrCfgs,
_getClasses,
_initHierarchy,
_initHierarchyData,
destroy,
init,
toString
Methods inherited from DD.Drag:
_align,
_alignNode,
_createEvents,
_defAlignFn,
_defDragFn,
_defMouseDownFn,
_fixDragStart,
_fixIEMouseDown,
_fixIEMouseUp,
_handleMouseDownEvent,
_handleMouseUp,
_handleTarget,
_ieSelectFix,
_move,
_moveNode,
_prep,
_prevEndFn,
_setStartPosition,
_timeoutCheck,
_unprep,
addHandle,
addInvalid,
addToGroup,
destructor,
end,
initializer,
removeFromGroup,
removeHandle,
removeInvalid,
start,
stopDrag,
validClick
Methods inherited from Attribute:
_addAttrs,
_addLazyAttr,
_defAttrChangeFn,
_fireAttrChange,
_getAttr,
_getAttrInitVal,
_getAttrs,
_getStateVal,
_isLazyAttr,
_normAttrVals,
_protectAttrs,
_set,
_setAttr,
_setAttrs,
_setAttrVal,
_setStateVal,
addAttr,
addAttrs,
attrAdded,
get,
getAttrs,
modifyAttr,
removeAttr,
reset,
set,
setAttrs
Events inherited from Base:
Events inherited from DD.Drag:
activeHandleChange,
bubblesChange,
clickPixelThreshChange,
clickTimeThreshChange,
dataChange,
drag:addHandle,
drag:addInvalid,
drag:afterMouseDown,
drag:align,
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
Configuration attributes inherited from Base:
Configuration attributes inherited from DD.Drag:
activeHandle,
bubbles,
clickPixelThresh,
clickTimeThresh,
data,
dragging,
dragMode,
dragNode,
groups,
handles,
lock,
move,
node,
offsetNode,
primaryButtonOnly,
target
useShim