Home > @jsplumbtoolkit/browser-ui > DragPayload
DragPayload interface
Base 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
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
e | Event | ||
el | Element | ||
originalPosition | PointXY | ||
payload? | Record<string, any> | (Optional) | |
pos | PointXY |