Skip to main content

DragStartParams

Interface

Drag start parameters

Properties

exportData

Export data function

Type

(exportOptions: Partial<ExportDataOptions>) => void

Type declaration

Signature

(exportOptions: Partial<ExportDataOptions>) => void
Parameters
NameType
exportOptionsPartial<ExportDataOptions>
Returns

void


hoveredSourceId

Hovered source ID

Type

EntityId


preventDefault

Prevent default drag event

Type

() => void

Type declaration

Signature

() => void
Returns

void


setData

Set data function

Type

(format: string, data: string) => void

Type declaration

Signature

(format: string, data: string) => void
Parameters
NameType
formatstring
datastring
Returns

void


setDragImage

Set drag image

Type

(image: HTMLElement, xOffset: number, yOffset: number) => void

Type declaration

Signature

(image: HTMLElement, xOffset: number, yOffset: number) => void
Parameters
NameType
imageHTMLElement
xOffsetnumber
yOffsetnumber
Returns

void