We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new-window
1 parent 65e36de commit ab52be5Copy full SHA for ab52be5
docs/api/web-contents.md
@@ -152,7 +152,8 @@ Returns:
152
sent, depending on the referrer policy.
153
* `postBody` [PostBody](structures/post-body.md) (optional) - The post data that
154
will be sent to the new window, along with the appropriate headers that will
155
- be set. If no post data is to be sent, the value will be `null`.
+ be set. If no post data is to be sent, the value will be `null`. Only defined
156
+ when the window is being created by a form that set `target=_blank`.
157
158
Emitted when the page requests to open a new window for a `url`. It could be
159
requested by `window.open` or an external link like `<a target='_blank'>`.
0 commit comments