From c2ecc49be29d5271230ba06633a6918ac4b1fd12 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 5 Jul 2016 17:35:15 -0700 Subject: [PATCH] Defer to webContents docs --- docs/api/web-view-tag.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index ecb848550328..3dea0f95c7cd 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -463,25 +463,15 @@ Stops any `findInPage` request for the `webview` with the provided `action`. ### `.print([options])` -Prints `webview`'s web page. Same with `webContents.print([options])`. +Prints `webview`'s web page. Same as `webContents.print([options])`. ### `.printToPDF(options, callback)` -Prints `webview`'s web page as PDF, Same with `webContents.printToPDF(options, callback)` +Prints `webview`'s web page as PDF, Same as `webContents.printToPDF(options, callback)`. ### `.capturePage([rect, ]callback)` -* `rect` Object (optional) - The area of the 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. +Captures a snapshot of the `webview`'s page. Same as `webContents.capturePage([rect, ]callback)`. ### `.send(channel[, arg1][, arg2][, ...])`