Home > @jsplumbtoolkit/browser-ui-react-drop > DragDropProps > onEdgeDrop
DragDropProps.onEdgeDrop property
Function to call when an item is dropped on an edge.
Signature:
onEdgeDrop?: (surface: Surface, data: any, edge: Edge, positionOnSurface: PointXY, e: Element, evt: Event, pageLocation: PointXY) => any;