Skip to main content

Home > @jsplumbtoolkit/drop > EdgeDropFunction

EdgeDropFunction type

Defines the function invoked when an item is dropped on an edge.

Signature:

export declare type EdgeDropFunction<T> = (data: T, target: Edge, draggedElement?: Element, e?: Event, position?: PointXY, canvasLocation?: PointXY) => void;