📝 Add missing printToPDF API in webview.
This commit is contained in:
parent
16348fc895
commit
82b1607c1e
1 changed files with 4 additions and 0 deletions
|
@ -312,6 +312,10 @@ Executes editing command `replaceMisspelling` in page.
|
||||||
|
|
||||||
Prints webview's web page. Same with `webContents.print([options])`.
|
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...])
|
### `<webview>`.send(channel[, args...])
|
||||||
|
|
||||||
* `channel` String
|
* `channel` String
|
||||||
|
|
Loading…
Add table
Reference in a new issue