document the process(es) in which APIs are available

This commit is contained in:
Zeke Sikelianos 2016-11-01 16:35:31 -07:00
parent da3dbdcb9b
commit e8bb79310c
3 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,8 @@
> Control your application's event lifecycle. > Control your application's event lifecycle.
Process: [Main](../tutorial/quick-start.md#main-process)
The following example shows how to quit the application when the last window is The following example shows how to quit the application when the last window is
closed: closed:

View file

@ -2,6 +2,8 @@
> Perform copy and paste operations on the system clipboard. > Perform copy and paste operations on the system clipboard.
Processes: [Main](../tutorial/quick-start.md#main-process), [Renderer](../tutorial/quick-start.md#renderer-process)
The following example shows how to write a string to the clipboard: The following example shows how to write a string to the clipboard:
```javascript ```javascript

View file

@ -3,6 +3,8 @@
> Access information about media sources that can be used to capture audio and > Access information about media sources that can be used to capture audio and
> video from the desktop using the [`navigator.webkitGetUserMedia`] API. > video from the desktop using the [`navigator.webkitGetUserMedia`] API.
Process: [Renderer](../tutorial/quick-start.md#renderer-process)
The following example shows how to capture video from a desktop window whose The following example shows how to capture video from a desktop window whose
title is `Electron`: title is `Electron`: