Browse Source

docs: document frameId meaning (#27192)

Co-authored-by: Jeremy Rose <[email protected]>
trop[bot] 4 years ago
parent
commit
afbfc4b7c5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/api/web-contents.md

+ 3 - 1
docs/api/web-contents.md

@@ -1570,7 +1570,9 @@ app.whenReady().then(() => {
 
 #### `contents.sendToFrame(frameId, channel, ...args)`
 
-* `frameId` Integer | [number, number]
+* `frameId` Integer | [number, number] - the ID of the frame to send to, or a
+  pair of `[processId, frameId]` if the frame is in a different process to the
+  main frame.
 * `channel` String
 * `...args` any[]