documentationfor yFiles for HTML 2.6

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-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.input.IDragHandler

See Also

Properties

Methods

Static Methods