From 82b1607c1e8400913b0342f8a32669e94bdab295 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Tue, 16 Jun 2015 20:17:58 +0800 Subject: [PATCH] :memo: Add missing printToPDF API in webview. --- docs/api/web-view-tag.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/web-view-tag.md b/docs/api/web-view-tag.md index 2a9344048253..54e82ef3a7bc 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