Also Expose printToPDF to BrowserWindow.
This commit is contained in:
parent
47eac062f6
commit
1eba552a8d
2 changed files with 5 additions and 0 deletions
|
@ -84,5 +84,6 @@ BrowserWindow::toggleDevTools = -> @webContents.toggleDevTools()
|
|||
BrowserWindow::inspectElement = -> @webContents.inspectElement.apply @webContents, arguments
|
||||
BrowserWindow::inspectServiceWorker = -> @webContents.inspectServiceWorker()
|
||||
BrowserWindow::print = -> @webContents.print.apply @webContents, arguments
|
||||
BrowserWindow::printToPDF = -> @webContents.printToPDF.apply @webContents, arguments
|
||||
|
||||
module.exports = BrowserWindow
|
||||
|
|
|
@ -558,6 +558,10 @@ process.
|
|||
|
||||
Same with `webContents.print([options])`
|
||||
|
||||
### BrowserWindow.printToPDF(options, callback)
|
||||
|
||||
Same with `webContents.printToPDF(options, callback)`
|
||||
|
||||
### BrowserWindow.loadUrl(url, [options])
|
||||
|
||||
Same with `webContents.loadUrl(url, [options])`.
|
||||
|
|
Loading…
Reference in a new issue