update startDrag(item) doc

add doc for `files` option
This commit is contained in:
popod 2017-02-23 21:28:36 +01:00 committed by GitHub
parent 62f4a77755
commit ea3b14f0bb

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.