Skip to content

Commit

Permalink
docs: document frameId meaning (#27189)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
  • Loading branch information
trop[bot] and nornagon committed Jan 5, 2021
1 parent a2b61f9 commit c68f0f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api/web-contents.md
Expand Up @@ -1622,7 +1622,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[]

Expand Down

0 comments on commit c68f0f0

Please sign in to comment.