chore: tsify web-contents (#24325)
This commit is contained in:
parent
82af855579
commit
1f23807271
7 changed files with 168 additions and 140 deletions
|
@ -12,7 +12,7 @@ app.whenReady().then(function () {
|
|||
callback('Hello World!');
|
||||
});
|
||||
|
||||
web.webContents.loadURL('test://abc/hello.txt');
|
||||
web.loadURL('test://abc/hello.txt');
|
||||
|
||||
web.webContents.on('did-finish-load', () => app.quit());
|
||||
web.on('did-finish-load', () => app.quit());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue