Home > @jsplumbtoolkit/browser-ui-react-drop > DragDropProps
#
DragDropProps interfaceSignature:
export interface DragDropProps
#
PropertiesProperty | Type | Description |
---|---|---|
container | Element | |
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) |
selector | string | |
surface | Surface |