docs: explain how to handle incoming drag and drop (#48718)

Fixes https://github.com/electron/electron/issues/48667
This commit is contained in:
Niklas Wenzel
2025-11-03 14:37:01 +01:00
committed by GitHub
parent 2a94d414f7
commit 20fc76cb43

View File

@@ -110,4 +110,10 @@ the item is a Markdown file located in the root of the project:
![Drag and drop](../images/drag-and-drop.gif)
## Dragging files into your app
You can use the standard
[Drag and Drop web API](https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API)
for dragging and dropping files into your app.
[`contextBridge`]: ../api/context-bridge.md