From 1ff58a6066ee2d8496339347c8350d7718ecd7bf Mon Sep 17 00:00:00 2001 From: roderik Date: Tue, 30 Aug 2016 22:25:04 -0500 Subject: [PATCH] documents webContents.fromId --- docs/api/web-contents.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 67add6283b07..235c044c81e5 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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.