From ea3b14f0bb49217c933a01af77bddd3f0db5d60e Mon Sep 17 00:00:00 2001 From: popod Date: Thu, 23 Feb 2017 21:28:36 +0100 Subject: [PATCH 1/2] update startDrag(item) doc add doc for `files` option --- docs/api/web-contents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index cbf261e396..efd90d6ff0 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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. From eb260c35937bb70924c18e15b8bfab9c43493d21 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 23 Feb 2017 13:03:22 -0800 Subject: [PATCH 2/2] Update parameter prefix --- docs/api/web-contents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index efd90d6ff0..b35bbdee7d 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1162,7 +1162,7 @@ End subscribing for frame presentation events. #### `contents.startDrag(item)` * `item` Object -  * `file` String or `files` Array - The path(s) to the file(s) 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.