Home > @jsplumbtoolkit/browser-ui-react-drop > DragDropProps > onDrop
DragDropProps.onDrop property
Function to call when an item is dropped on ane existing vertex.
Signature:
onDrop?: (surface: Surface, data: any, target: Node | Group, position: PointXY, draggedElement: Element, e: Event) => any;