documentationfor yFiles for HTML 2.6

DropInputMode

An input mode which handles drag and drop related events on a CanvasComponent.

Remarks

An instance of DropInputMode is initialized for an expected data type in the constructor. There are four events raised by an instance of this class.

Clients can query the current mousePosition which is updated while a drag is in progress. Clients get the data from the drag operation by calling dropData from an event handler registered for any of these events.

This mode is exclusive by default.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.input.DropInputMode

See Also

Constructors

Properties

Methods

Events