mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Standardize online-offline
This commit is contained in:
@@ -36,9 +36,9 @@ _online-status.html_
|
||||
</html>
|
||||
```
|
||||
|
||||
There may be instances where one wants to respond to these events in the
|
||||
main process as well. The main process however does not have a
|
||||
`navigator` object and thus cannot detect these events directly. Using
|
||||
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
|
||||
`navigator` object and thus cannot detect these events directly. Using
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user