DragProxy

Drag proxies are helper classes that represent the object being dragged in some visual way. This is an abstract base with which particular drag proxy classes (such as, DragTipProxy are registered.

Derived classes the various template methods of this class to manage their particular form of visual feedback.

Configs

1

The currently active DragContext. This context will be active prior to be passed to the proxy. This config is set by dragStart and cleared by dragEnd.

Properties

7

Class hierarchy

isDragProxy: Boolean= truereadonly
Identifies an object as an instance of DragProxy class, or subclass thereof.
isDragProxy: Boolean= truereadonlystatic
Identifies an object as an instance of DragProxy class, or subclass thereof.

Other

owner: Draggablereadonly

The Draggable instance that owns this drag proxy.

Lifecycle

configBase

Functions

19

Other

This template method is called when dragging is reset to null.

ParameterTypeDescription
dragDragContext

The drag instance.

This template method is called by the Draggable instance when the drag completes.

This sets the dragging config to null, which triggers the call to close.

ParameterTypeDescription
dragDragContext

The drag instance.

This template method is called by the Draggable instance as drag movement occurs.

ParameterTypeDescription
dragDragContext

The drag instance.

This template method is called by the Draggable instance when the drag officially starts. This sets the dragging config to drag, which triggers the call to open.

ParameterTypeDescription
dragDragContext

The drag instance.

This template method is called when dragging is set to a non-null value.

ParameterTypeDescription
dragDragContext

The drag instance.

Configuration

applyDefaultsstaticBase

Events

Lifecycle

destroystaticBase

Misc

initClassstaticBase
isOfTypeNamestaticBase
mixinstaticBase