Skip to content

ElectronWebContents.startDrag method

ElectronWebContents › startDrag

Unofficial

Sets the item as the dragging item for the current drag-drop operation.

Signature:

startDrag(item: ElectronItem): void

Parameters:

ParameterTypeDescription
itemElectronItemThe item to drag.

Returns: void