mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
document the process(es) in which APIs are available
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
> 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
|
||||
closed:
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
> 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:
|
||||
|
||||
```javascript
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
> Access information about media sources that can be used to capture audio and
|
||||
> 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
|
||||
title is `Electron`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user