Standardize online-offline
This commit is contained in:
parent
a5234224a6
commit
52916f70ed
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ _online-status.html_
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
|
||||||
There may be instances where one wants to respond to these events in the
|
There may be instances where you want to respond to these events in the
|
||||||
main process as well. The main process however does not have a
|
main process as well. The main process however does not have a
|
||||||
`navigator` object and thus cannot detect these events directly. Using
|
`navigator` object and thus cannot detect these events directly. Using
|
||||||
Electron's inter-process communication utilities, the events can be forwarded
|
Electron's inter-process communication utilities, the events can be forwarded
|
||||||
to the main process and handled as needed, as shown in the following example.
|
to the main process and handled as needed, as shown in the following example.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue