Update capturePage documentation for new location
This commit is contained in:
parent
12dddae2ca
commit
ce4ef1ccb8
3 changed files with 29 additions and 11 deletions
|
@ -892,17 +892,7 @@ Whether the window's document has been edited.
|
|||
|
||||
### `win.capturePage([rect, ]callback)`
|
||||
|
||||
* `rect` Object (optional) - The area of page to be captured
|
||||
* `x` Integer
|
||||
* `y` Integer
|
||||
* `width` Integer
|
||||
* `height` Integer
|
||||
* `callback` Function
|
||||
|
||||
Captures a snapshot of the page within `rect`. Upon completion `callback` will
|
||||
be called with `callback(image)`. The `image` is an instance of
|
||||
[NativeImage](native-image.md) that stores data of the snapshot. Omitting
|
||||
`rect` will capture the whole visible page.
|
||||
Same as `webContents.capturePage([rect, ]callback)`.
|
||||
|
||||
### `win.loadURL(url[, options])`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue