Mention image cannot be empty on macOS
This commit is contained in:
parent
e683f28e32
commit
eb6d92d427
1 changed files with 3 additions and 2 deletions
|
@ -1132,8 +1132,9 @@ End subscribing for frame presentation events.
|
||||||
#### `contents.startDrag(item)`
|
#### `contents.startDrag(item)`
|
||||||
|
|
||||||
* `item` Object
|
* `item` Object
|
||||||
* `file` String
|
* `file` String - The path to the file being dragged.
|
||||||
* `icon` [NativeImage](native-image.md)
|
* `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
|
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
|
absolute path of the file to be dragged, and `icon` is the image showing under
|
||||||
|
|
Loading…
Reference in a new issue