]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: Add missing printToPDF API in webview.
authorHaojian Wu <hokein.wu@gmail.com>
Tue, 16 Jun 2015 12:17:58 +0000 (20:17 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 16 Jun 2015 12:17:58 +0000 (20:17 +0800)
docs/api/web-view-tag.md

index 2a93440482537d570542d2d160f9848a24669165..54e82ef3a7bcec429d359ec26b7119da4de7947f 100644 (file)
@@ -312,6 +312,10 @@ Executes editing command `replaceMisspelling` in page.
 
 Prints webview's web page. Same with `webContents.print([options])`.
 
+### `<webview>.printToPDF(options, callback)`
+
+Prints webview's web page as PDF, Same with `webContents.printToPDF(options, callback)`
+
 ### `<webview>`.send(channel[, args...])
 
 * `channel` String