diff --git a/docs/api/structures/new-window-event.md b/docs/api/structures/new-window-event.md new file mode 100644 index 000000000000..b3939a00785a --- /dev/null +++ b/docs/api/structures/new-window-event.md @@ -0,0 +1,4 @@ +# NewWindowEvent Object extends `Event` + +* `newGuest` BrowserWindow (optional) + diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index b192615ee90a..e8b67f0b30e7 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -138,7 +138,7 @@ Emitted when page receives favicon urls. Returns: -* `event` Event +* `event` NewWindowEvent * `url` String * `frameName` String * `disposition` String - Can be `default`, `foreground-tab`, `background-tab`, diff --git a/filenames.auto.gni b/filenames.auto.gni index 1dfb19bc7a4c..7241e72b5888 100644 --- a/filenames.auto.gni +++ b/filenames.auto.gni @@ -100,6 +100,7 @@ auto_filenames = { "docs/api/structures/mime-typed-buffer.md", "docs/api/structures/mouse-input-event.md", "docs/api/structures/mouse-wheel-input-event.md", + "docs/api/structures/new-window-event.md", "docs/api/structures/notification-action.md", "docs/api/structures/point.md", "docs/api/structures/post-body.md",