mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Updated the related documentation
This commit is contained in:
@@ -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`.
|
||||
|
||||
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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user