docs: The options parameter of new-window event
authorCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 15:41:08 +0000 (23:41 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 15:41:08 +0000 (23:41 +0800)
docs/api/web-contents.md
docs/api/web-view-tag.md

index f971c569eee921e8875e4522cdc1e187515ad701..e858d0211a92e616aaf72d39bf8f7da675345eac 100644 (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'>`.
index 7b4aa2ebf86c5bea6c8e298cc2f677e47d414027..3fda3a98edb5f654e6c569f211cdd36f1e69e151 100644 (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.