mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
Fix the IPC docs so the docs-linter finds the methods
This commit is contained in:
@@ -46,7 +46,7 @@ ipcRenderer.on('asynchronous-reply', (event, arg) => {
|
||||
ipcRenderer.send('asynchronous-message', 'ping')
|
||||
```
|
||||
|
||||
## Listening for Messages
|
||||
## Methods
|
||||
|
||||
The `ipcMain` module has the following method to listen for events:
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ main process.
|
||||
|
||||
See [ipcMain](ipc-main.md) for code examples.
|
||||
|
||||
## Listening for Messages
|
||||
## Methods
|
||||
|
||||
The `ipcRenderer` module has the following method to listen for events:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user