documentationfor yFiles for HTML 3.0.0.3

IDragHandler

Interface for an object that can be used to drag something displayed in a CanvasComponent

Remarks

Items can be dragged with the mouse and an instance of this class will modify their position accordingly. A drag will trigger the invocation of initializeDrag, zero or more handleMove calls, and will be finalized by either dragFinished or cancelDrag.

Related Programming Samples

Position Handler
Shows how to customize and restrict the movement behavior of nodes.

Type Details

yFiles module
view

See Also

Properties

Methods

Static Methods