documents webContents.fromId

This commit is contained in:
roderik 2016-08-30 22:25:04 -05:00
parent e2d70fb92b
commit 1ff58a6066

View file

@ -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 the web contents that is focused in this application, otherwise
returns `null`. returns `null`.
### `webContents.fromId(id)`
* `id` Integer
Find a `WebContents` instance according to its ID.
## Class: WebContents ## Class: WebContents
> Render and control the contents of a BrowserWindow instance. > Render and control the contents of a BrowserWindow instance.