docs: webFrameMain.fromId() can return undefined (#27068)
* docs: webFrameMain.fromId() can return undefined * docs: webFrameMain.fromId() can return undefined
This commit is contained in:
parent
c210956afb
commit
16c864a932
2 changed files with 18 additions and 17 deletions
|
@ -63,7 +63,8 @@ These methods can be accessed from the `webFrameMain` module:
|
|||
instances (`frame.routingId`) and are also passed by frame
|
||||
specific `WebContents` navigation events (e.g. `did-frame-navigate`).
|
||||
|
||||
Returns `WebFrameMain` - A frame with the given process and routing IDs.
|
||||
Returns `WebFrameMain | undefined` - A frame with the given process and routing IDs,
|
||||
or `undefined` if there is no WebFrameMain associated with the given IDs.
|
||||
|
||||
## Class: WebFrameMain
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue