mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: webFrameMain.fromId() can return undefined (#27193)
* docs: webFrameMain.fromId() can return undefined * docs: webFrameMain.fromId() can return undefined Co-authored-by: Milan Burda <milan.burda@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user