]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix formatting of print and printToPDF methods
authorPetr Felzmann <petr.felzmann@profiq.com>
Mon, 17 Aug 2015 08:52:10 +0000 (10:52 +0200)
committerPetr Felzmann <petr.felzmann@profiq.com>
Mon, 17 Aug 2015 08:52:10 +0000 (10:52 +0200)
docs/api/web-view-tag.md

index 07d84324dd4b7b206f76e038777b7299e2983d5d..f8490b624c730c854f37d063aa06a5125b9e4092 100644 (file)
@@ -315,11 +315,11 @@ Executes editing command `replace` in page.
 
 Executes editing command `replaceMisspelling` in page.
 
-### `<webview>.print([options])`
+### `<webview>`.print([options])
 
 Prints webview's web page. Same with `webContents.print([options])`.
 
-### `<webview>.printToPDF(options, callback)`
+### `<webview>`.printToPDF(options, callback)
 
 Prints webview's web page as PDF, Same with `webContents.printToPDF(options, callback)`