Merge pull request #8760 from popod/popod-startDrag-doc

update startDrag(item) doc
This commit is contained in:
Kevin Sawicki 2017-02-23 13:45:22 -08:00 committed by GitHub
commit cc688d7fa6

View file

@ -1162,7 +1162,7 @@ End subscribing for frame presentation events.
#### `contents.startDrag(item)`
* `item` Object
* `file` String - The path to the file being dragged.
* `file` String or `files` Array - The path(s) to the file(s) being dragged.
* `icon` [NativeImage](native-image.md) - The image must be non-empty on
macOS.