drag
Implement native system file drag-and-drop functionality.
Last updated
Implement native system file drag-and-drop functionality.
Display notification window
filePaths string[] - File paths to drag
Returns Promise<>
await eagle.drag.startDrag([
"C:\\Users\\User\\Pictures\\drag1.jpg",
"C:\\Users\\User\\Pictures\\drag2.jpg",
]);Note: This function is similar to Electron API's webContents.startDrag(item) feature.
Last updated