Merge pull request #7041 from Ikana/document-webcontents-fromId

documents webContents.fromId
This commit is contained in:
Cheng Zhao 2016-08-31 21:01:49 +09:00 committed by GitHub
commit a37544cef4

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 `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.