mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Fix formatting of print and printToPDF methods
This commit is contained in:
@@ -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)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user