Home > @jsplumbtoolkit/browser-ui > 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;
References: PointXY