mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Mention image cannot be empty on macOS
This commit is contained in:
@@ -1132,8 +1132,9 @@ End subscribing for frame presentation events.
|
||||
#### `contents.startDrag(item)`
|
||||
|
||||
* `item` Object
|
||||
* `file` String
|
||||
* `icon` [NativeImage](native-image.md)
|
||||
* `file` String - The path to the file being dragged.
|
||||
* `icon` [NativeImage](native-image.md) - The image must be non-empty on
|
||||
macOS.
|
||||
|
||||
Sets the `item` as dragging item for current drag-drop operation, `file` is the
|
||||
absolute path of the file to be dragged, and `icon` is the image showing under
|
||||
|
||||
Reference in New Issue
Block a user