# Yahoo! UI Library

### dd 3.0.0

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

## Class Plugin.DDProxy - extends Base

This plugin for dd-drag is for creating a proxy drag node, instead of dragging the original node.

### Constructor

Plugin.DDProxy `( )`

### Properties

#### _hands - `private object`

Holds the event handles for setting the proxy

#### proxy - `{String}`

The Proxy instance will be placed on the Drag instance under the proxy namespace.

#### Properties inherited from Attribute:

``

#### Properties inherited from Base:

`name`

### Methods

#### _init

`private void _init ( )`
Handler for the proxy config attribute

#### Methods inherited from EventTarget:

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

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

#### Methods inherited from Base:

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

### Events

#### borderStyleChange

`borderStyleChange ( event )`
Fires when the value for the configuration attribute 'borderStyle' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.

Parameters:
  `event <Event.Facade>` An Event Facade object with the following attribute specific properties added:
  prevVal
    The value of the attribute, prior to it being set
  newVal
    The value the attribute is to be set to
  attrName
    The name of the attribute being set
  subAttrName
    If setting a property within the attribute's value, the name of the sub-attribute property being set

#### hideOnEndChange

`hideOnEndChange ( event )`
Fires when the value for the configuration attribute 'hideOnEnd' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.

Parameters:
  `event <Event.Facade>` An Event Facade object with the following attribute specific properties added:
  prevVal
    The value of the attribute, prior to it being set
  newVal
    The value the attribute is to be set to
  attrName
    The name of the attribute being set
  subAttrName
    If setting a property within the attribute's value, the name of the sub-attribute property being set

#### moveOnEndChange

`moveOnEndChange ( event )`
Fires when the value for the configuration attribute 'moveOnEnd' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.

Parameters:
  `event <Event.Facade>` An Event Facade object with the following attribute specific properties added:
  prevVal
    The value of the attribute, prior to it being set
  newVal
    The value the attribute is to be set to
  attrName
    The name of the attribute being set
  subAttrName
    If setting a property within the attribute's value, the name of the sub-attribute property being set

#### positionProxyChange

`positionProxyChange ( event )`
Fires when the value for the configuration attribute 'positionProxy' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.

Parameters:
  `event <Event.Facade>` An Event Facade object with the following attribute specific properties added:
  prevVal
    The value of the attribute, prior to it being set
  newVal
    The value the attribute is to be set to
  attrName
    The name of the attribute being set
  subAttrName
    If setting a property within the attribute's value, the name of the sub-attribute property being set

#### resizeFrameChange

`resizeFrameChange ( event )`
Fires when the value for the configuration attribute 'resizeFrame' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.

Parameters:
  `event <Event.Facade>` An Event Facade object with the following attribute specific properties added:
  prevVal
    The value of the attribute, prior to it being set
  newVal
    The value the attribute is to be set to
  attrName
    The name of the attribute being set
  subAttrName
    If setting a property within the attribute's value, the name of the sub-attribute property being set

#### Events inherited from Base:

`destroy, destroyedChange, init, initializedChange,`

### Configuration Attributes

#### borderStyle `- Boolean`

The default border style for the border of the proxy. Default: 1px solid #808080

#### hideOnEnd `- Boolean`

Hide the drag node at the end of the drag. Default: true

#### moveOnEnd `- Boolean`

Move the original node at the end of the drag. Default: true

#### positionProxy `- Boolean`

Make the Proxy node appear in the same place as the original node. Default: true

#### resizeFrame `- Boolean`

Make the Proxy node assume the size of the original node. Default: true

#### Configuration attributes inherited from Base:

`destroyed, initialized,`

Copyright © 2009 Yahoo! Inc. All rights reserved.