# Yahoo! UI Library

### dd 3.3.0

Yahoo! UI Library > dd > Plugin.Drag
Search:
Filters Show Private Show Protected Show Deprecated

## Class Plugin.Drag - extends DD.Drag

Simple Drag plugin that can be attached to a Node via the plug method.

### Constructor

Plugin.Drag `( )`

### Properties

#### NAME - `{String}`

dd-plugin

#### 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 Plugin.Host:

`PluginHost`

#### Properties inherited from Base:

`name`

#### Properties inherited from DD.Drag:

`_bubbleTargets, _clickTimeout, _dragThreshMet, _endTime, _ev_md, _fromTimeout, _groups, _handles, _ieSelectBack, _invalids, _invalidsDefault, _startTime, actXY, deltaXY, lastXY, mouseXY, nodeXY, realXY, region, startXY, target`

#### Properties inherited from Attribute:

``

#### Methods inherited from EventTarget:

`_getType, _monitor, _parseType, addTarget, after, before, bubble, detach, detachAll, fire, getEvent, getTargets, on, once, parseType, publish, removeTarget, subscribe, unsubscribe, unsubscribeAll`

#### Methods inherited from Base:

`_aggregateAttrs, _defDestroyFn, _defInitFn, _destroyHierarchy, _filterAttrCfs, _getAttrCfgs, _getClasses, _initHierarchy, _initHierarchyData, _preInitEventCfg, destroy, init, toString`

#### Methods inherited from Plugin.Host:

`_destroyPlugins, _initPlugins, hasPlugin, plug, unplug`

#### Methods inherited from DD.Drag:

`_align, _alignNode, _createEvents, _defAlignFn, _defDragFn, _defEndFn, _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, _getAttrCfg, _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:

`destroy, destroyedChange, init, initializedChange,`

#### 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:mouseup drag:over drag:removeHandle drag:removeInvalid drag:start draggingChange dragModeChange dragNodeChange groupsChange haltDownChange handlesChange lockChange moveChange nodeChange offsetNodeChange primaryButtonOnlyChange startCenteredChange targetChange useShimChange`

#### Configuration attributes inherited from Base:

`destroyed initialized`

#### Configuration attributes inherited from DD.Drag:

`activeHandle, bubbles, clickPixelThresh, clickTimeThresh, data, dragging, dragMode, dragNode, groups, haltDown handles lock move node offsetNode primaryButtonOnly startCentered target useShim`

Copyright © 2011 Yahoo! Inc. All rights reserved.