Text edits
This commit is contained in:
parent
b1fc18f405
commit
91c75d73dd
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ the [native modules](../tutorial/using-native-node-modules.md)).
|
||||||
|
|
||||||
Electron also provides some extra built-in modules for developing native
|
Electron also provides some extra built-in modules for developing native
|
||||||
desktop applications. Some modules are only available on the main process, some
|
desktop applications. Some modules are only available on the main process, some
|
||||||
are only available on the renderer process (web page), and some can be used on
|
are only available in the renderer process (web page), and some can be used in
|
||||||
both processes.
|
both processes.
|
||||||
|
|
||||||
The basic rule is: if a module is
|
The basic rule is: if a module is
|
||||||
|
@ -30,7 +30,7 @@ app.on('ready', function() {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
The render process is no different than a normal web page, except for the extra
|
The renderer process is no different than a normal web page, except for the extra
|
||||||
ability to use node modules:
|
ability to use node modules:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|
|
@ -123,7 +123,7 @@ Emitted when dragged files are dropped in the tray icon.
|
||||||
|
|
||||||
The `Tray` module has the following methods:
|
The `Tray` module has the following methods:
|
||||||
|
|
||||||
**Note**: Some methods are only available on specific operating systems and area
|
**Note**: Some methods are only available on specific operating systems and are
|
||||||
labeled as such.
|
labeled as such.
|
||||||
|
|
||||||
### `Tray.destroy()`
|
### `Tray.destroy()`
|
||||||
|
|
Loading…
Reference in a new issue