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: browserView.webContents can be null #40569

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion docs/api/browser-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Objects created with `new BrowserView` have the following properties:

#### `view.webContents` _Experimental_

A [`WebContents`](web-contents.md) object owned by this view.
A `WebContents | null` property that returns the `WebContents` owned by this view or `null` if the contents are [destroyed](web-contents.md#event-destroyed).
codebytere marked this conversation as resolved.
Show resolved Hide resolved
Juice10 marked this conversation as resolved.
Show resolved Hide resolved

### Instance Methods

Expand Down