# Yahoo! UI Library

### dd 3.0.0b1

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

## Class Plugin.Drag - extends DD.Drag

This is a 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 Base:

`name`

#### 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`

#### Properties inherited from Attribute:

``

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

`_destroyPlugins, _initPlugins, _plug, _unplug, hasPlugin, plug, unplug`

#### 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, _getAttrInitVal, _isLazyAttr, _set, _setAttr, _setAttrVal, _splitAttrVals, 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:over drag:removeHandle drag:removeInvalid drag:start draggingChange dragModeChange dragNodeChange groupsChange handlesChange lockChange moveChange nodeChange offsetNodeChange primaryButtonOnlyChange targetChange useShimChange`

#### Configuration attributes inherited from Base:

`destroyed, initialized,`

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

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

Copyright © 2009 Yahoo! Inc. All rights reserved.