]> khamidou — GitHub mirrors - electron.git/commitdiff
message → arg
authorJessica Lord <jlord@github.com>
Fri, 28 Aug 2015 21:57:14 +0000 (14:57 -0700)
committerJessica Lord <jlord@github.com>
Fri, 28 Aug 2015 21:57:14 +0000 (14:57 -0700)
docs/api/ipc-renderer.md

index 12cd11aec777cd98811b2e475c3aaa30f9feb742..3adb0bc954766ce3f7380ab1a751fe8130b21f01 100644 (file)
@@ -19,7 +19,7 @@ for it in the main process with [`ipc (main process)`](ipc-main-process.md).
 ### `ipc.send(channel[, arg1][, arg2][, ...])`
 
 * `channel` String - The event name.
-* `message` (optional)
+* `arg` (optional)
 
 Send an event to the main process asynchronously via a `channel`. Optionally,
 there can be a message: one or a series of arguments, `arg`, which can have any
@@ -29,7 +29,7 @@ type. The main process handles it by listening for the `channel` event with
 ### `ipc.sendSync(channel[, arg1][, arg2][, ...])`
 
 * `channel` String - The event name.
-* `message` (optional)
+* `arg` (optional)
 
 Send an event to the main process synchronously via a `channel`. Optionally,
 there can be a message: one or a series of arguments, `arg`, which can have any
@@ -45,7 +45,7 @@ using this method is not recommended.
 ### `ipc.sendToHost(channel[, arg1][, arg2][, ...])`
 
 * `channel` String - The event name.
-* `message` (optional)
+* `arg` (optional)
 
 Like `ipc.send` but the event will be sent to the host page in a `<webview>`
 instead of the main process. Optionally, there can be a message: one or a series