Skip to main content

Home > @jsplumbtoolkit/browser-ui-react-drop > DragDropProps

DragDropProps interface#

Signature:

export interface DragDropProps 

Properties#

PropertyTypeDescription
containerElement
dataGenerator?DataGeneratorFunction<any>(Optional)
onCanvasDrop?(surface: Surface, data: any, position: PointXY) => any(Optional)
onDrop?(surface: Surface, data: any, target: Node | Group, position: PointXY, draggedElement: Element, e: Event) => any(Optional)
onEdgeDrop?(surface: Surface, data: any, edge: Edge, positionOnSurface: PointXY, e: Element, evt: Event, pageLocation: PointXY) => any(Optional)
selectorstring
surfaceSurface