Home > @jsplumb/browser-ui > DragPayload
#
DragPayload interfaceBase payload for drag events. Contains the element being dragged, the corresponding mouse event, the current position, and the position when drag started.
Signature:
export interface DragPayload
#
PropertiesProperty | Type | Description |
---|---|---|
e | Event | |
el | Element | |
originalPosition | PointXY | |
payload? | Record<string, any> | (Optional) |
pos | PointXY |