Skip to main content

Home > @jsplumb/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#

PropertyTypeDescription
eEvent
elElement
originalPositionPointXY
payload?Record<string, any>(Optional)
posPointXY