Merge pull request #2870 from atom/window-open-options
Pass options in "new-window" event
This commit is contained in:
commit
6c8a9cb072
4 changed files with 9 additions and 4 deletions
|
@ -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'>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue