Updated the related documentation
This commit is contained in:
parent
3408c8038e
commit
22bd7c0271
1 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,9 @@ requested by `window.open` or an external link like `<a target='_blank'>`.
|
||||||
|
|
||||||
By default a new `BrowserWindow` will be created for the `url`.
|
By default a new `BrowserWindow` will be created for the `url`.
|
||||||
|
|
||||||
Calling `event.preventDefault()` will prevent creating new windows.
|
Calling `event.preventDefault()` will prevent creating new windows. In such case, the
|
||||||
|
`event.newGuest` may be set with a reference to a `BrowserWindow` instance to make it
|
||||||
|
used by the Electron's runtime.
|
||||||
|
|
||||||
#### Event: 'will-navigate'
|
#### Event: 'will-navigate'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue