Merge pull request #6619 from electron/web-contents-copy-image-at

Add webContents.copyImageAt(x, y)
This commit is contained in:
Cheng Zhao 2016-07-27 10:15:38 +09:00 committed by GitHub
commit 99b523176b
3 changed files with 15 additions and 0 deletions

View file

@ -626,6 +626,13 @@ Executes the editing command `cut` in web page.
Executes the editing command `copy` in web page.
### `contents.copyImageAt(x, y)`
* `x` Integer
* `y` Integer
Copy the image at the given position to the clipboard.
#### `contents.paste()`
Executes the editing command `paste` in web page.