docs: The options parameter of new-window event
This commit is contained in:
parent
f2fa0e96eb
commit
8bfa3cba63
2 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,8 @@ Returns:
|
||||||
* `frameName` String
|
* `frameName` String
|
||||||
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
||||||
`new-window` and `other`.
|
`new-window` and `other`.
|
||||||
|
* `options` Object - The options which will be used for creating the new
|
||||||
|
`BrowserWindow`.
|
||||||
|
|
||||||
Emitted when the page requests to open a new window for a `url`. It could be
|
Emitted when the page requests to open a new window for a `url`. It could be
|
||||||
requested by `window.open` or an external link like `<a target='_blank'>`.
|
requested by `window.open` or an external link like `<a target='_blank'>`.
|
||||||
|
|
|
@ -505,6 +505,8 @@ Returns:
|
||||||
* `frameName` String
|
* `frameName` String
|
||||||
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
||||||
`new-window` and `other`.
|
`new-window` and `other`.
|
||||||
|
* `options` Object - The options which should be used for creating the new
|
||||||
|
`BrowserWindow`.
|
||||||
|
|
||||||
Fired when the guest page attempts to open a new browser window.
|
Fired when the guest page attempts to open a new browser window.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue