Skip to main content

Interface: CanvasDragoverEvent

Defined in: diagram/canvasApi.ts:280

Event data for canvas dragover event from a drag and drop operation.

Properties

PropertyModifierTypeDescription

allowDrop

readonly

() => void

If called from any handler, allows the drop operation to proceed; otherwise the drop event would be cancelled.

position

readonly

Vector

Position of the dragged item in paper coordinates.

source

readonly

CanvasApi

Event source (canvas).

sourceEvent

readonly

DragEvent

Original (raw) event data.