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:

Parameter Type Description
item ElectronItem The item to drag.

Returns: void