Merge pull request #7041 from Ikana/document-webcontents-fromId
documents webContents.fromId
This commit is contained in:
commit
a37544cef4
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ for all windows, webviews, opened devtools, and devtools extension background pa
|
|||
Returns the web contents that is focused in this application, otherwise
|
||||
returns `null`.
|
||||
|
||||
### `webContents.fromId(id)`
|
||||
|
||||
* `id` Integer
|
||||
|
||||
Find a `WebContents` instance according to its ID.
|
||||
|
||||
## Class: WebContents
|
||||
|
||||
> Render and control the contents of a BrowserWindow instance.
|
||||
|
|
Loading…
Reference in a new issue