Added note and link for poorly documented operation.

Accessing renderer process from main process is not documented and as "remote" does the opposite, it seems fair to add a pointer here.
This commit is contained in:
Lucidogen Media 2015-06-06 13:38:00 +02:00
parent 13c1b078f9
commit e4ae579b16

View file

@ -20,6 +20,8 @@ var win = new BrowserWindow({ width: 800, height: 600 });
win.loadUrl('https://github.com');
```
Note: for the reverse (access renderer process from main process), you can use [webContents.executeJavascript](https://github.com/atom/electron/blob/master/docs/api/browser-window.md#browserwindowwebcontents).
## Remote objects
Each object (including functions) returned by the `remote` module represents an