docs: The options parameter of new-window event

This commit is contained in:
Cheng Zhao 2015-09-22 23:41:08 +08:00
parent f2fa0e96eb
commit 8bfa3cba63
2 changed files with 4 additions and 0 deletions

View file

@ -111,6 +111,8 @@ Returns:
* `frameName` String
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
`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
requested by `window.open` or an external link like `<a target='_blank'>`.

View file

@ -505,6 +505,8 @@ Returns:
* `frameName` String
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
`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.