From: Haojian Wu Date: Tue, 16 Jun 2015 12:17:58 +0000 (+0800) Subject: :memo: Add missing printToPDF API in webview. X-Git-Tag: v0.28.2~6^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=82b1607c1e8400913b0342f8a32669e94bdab295;p=electron.git :memo: Add missing printToPDF API in webview. --- diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index 2a934404..54e82ef3 100644 --- a/docs/api/web-view-tag.md +++ b/docs/api/web-view-tag.md @@ -312,6 +312,10 @@ Executes editing command `replaceMisspelling` in page. Prints webview's web page. Same with `webContents.print([options])`. +### `.printToPDF(options, callback)` + +Prints webview's web page as PDF, Same with `webContents.printToPDF(options, callback)` + ### ``.send(channel[, args...]) * `channel` String