Skip to main content

Home > @jsplumbtoolkit/drop > DragFunction

DragFunction type

Defines the callback function invoked when an item is being dragged.

Signature:

export declare type DragFunction<T> = (data: T, e: Event, position: PointXY, canvasLocation: PointXY) => any;