Skip to content

Commit

Permalink
docs: correct webFrame description (electron#32205)
Browse files Browse the repository at this point in the history
The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame.
  • Loading branch information
mckravchyk authored and t57ser committed Jan 25, 2022
1 parent 06bdcab commit 5c20605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/web-frame.md
Expand Up @@ -5,8 +5,8 @@
Process: [Renderer](../glossary.md#renderer-process)

`webFrame` export of the Electron module is an instance of the `WebFrame`
class representing the top frame of the current `BrowserWindow`. Sub-frames can
be retrieved by certain properties and methods (e.g. `webFrame.firstChild`).
class representing the current frame. Sub-frames can be retrieved by
certain properties and methods (e.g. `webFrame.firstChild`).

An example of zooming current page to 200%.

Expand Down

0 comments on commit 5c20605

Please sign in to comment.