feat: add options to webContents.loadFile (#14515)
This commit is contained in:
parent
7a766e82f9
commit
58577bd431
8 changed files with 31 additions and 29 deletions
|
@ -182,8 +182,8 @@ Object.assign(BrowserWindow.prototype, {
|
|||
getURL (...args) {
|
||||
return this.webContents.getURL()
|
||||
},
|
||||
loadFile (filePath) {
|
||||
return this.webContents.loadFile(filePath)
|
||||
loadFile (...args) {
|
||||
return this.webContents.loadFile(...args)
|
||||
},
|
||||
reload (...args) {
|
||||
return this.webContents.reload(...args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue