Merge pull request #6619 from electron/web-contents-copy-image-at
Add webContents.copyImageAt(x, y)
This commit is contained in:
commit
99b523176b
3 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue