DragStartParams
Interface
Drag start parameters
Properties
exportData
Export data function
Type
(exportOptions: Partial<ExportDataOptions>) => void
Type declaration
Signature
(exportOptions: Partial<ExportDataOptions>) => void
Parameters
Name | Type |
---|---|
exportOptions | Partial<ExportDataOptions> |
Returns
void
hoveredSourceId
Hovered source ID
Type
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
Name | Type |
---|---|
format | string |
data | string |
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
Name | Type |
---|---|
image | HTMLElement |
xOffset | number |
yOffset | number |
Returns
void