Merge pull request #7843 from electron/process-docs
document the process(es) in which APIs are available
This commit is contained in:
commit
ef9d8fe9bd
29 changed files with 74 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
> Render and control web pages.
|
||||
|
||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||
|
||||
`webContents` is an
|
||||
[EventEmitter](https://nodejs.org/api/events.html#events_class_eventemitter).
|
||||
It is responsible for rendering and controlling a web page and is a property of
|
||||
|
@ -47,6 +49,8 @@ Returns `WebContents` - A WebContents instance with the given ID.
|
|||
|
||||
> Render and control the contents of a BrowserWindow instance.
|
||||
|
||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||
|
||||
### Instance Events
|
||||
|
||||
#### Event: 'did-finish-load'
|
||||
|
@ -1186,6 +1190,8 @@ A Debugger instance for this webContents.
|
|||
|
||||
> An alternate transport for Chrome's remote debugging protocol.
|
||||
|
||||
Process: [Main](../tutorial/quick-start.md#main-process)
|
||||
|
||||
Chrome Developer Tools has a [special binding][rdp] available at JavaScript
|
||||
runtime that allows interacting with pages and instrumenting them.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue