docs: document frameId meaning (#27072)

This commit is contained in:
Jeremy Rose 2021-01-04 18:12:38 -08:00 committed by GitHub
parent 1dc6a707a9
commit c210956afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1710,7 +1710,9 @@ app.whenReady().then(() => {
#### `contents.sendToFrame(frameId, channel, ...args)` #### `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 * `channel` String
* `...args` any[] * `...args` any[]