Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: event.newGuest for new-window in WebContents and webContents in BrowsweWindow's constructor #23355

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Apr 30, 2020

Backport of #21698

See that PR for details.

Notes: newGuest in new-window event of WebContents and webContents in BrowsweWindow constructor were well-documented.

According to the example codes in the documentation of `new-window`
event in `WebContents`, `webContents` in `BrowsweWindow` constructor
options and `newGuest` in `event` argument of `new-window` handler are
both existing but documented. This patch is for adding the related
documentations. Also, it provides typescript-definitations for these
two properties.
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Apr 30, 2020
@trop trop bot added 8-x-y backport This is a backport PR labels Apr 30, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Apr 30, 2020
@codebytere codebytere merged commit d2fb214 into 8-x-y May 4, 2020
@release-clerk
Copy link

release-clerk bot commented May 4, 2020

No Release Notes

@codebytere codebytere deleted the trop/8-x-y-bp-docs-event-newguest-for-new-window-in-webcontents-and-webcontents-in-browswewindow-s-constructor-1588263934677 branch May 4, 2020 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants