Skip to content

Commit

Permalink
docs: correct webFrame description (#32327)
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.

Co-authored-by: Maciej Krawczyk <mckravchyk@gmail.com>
  • Loading branch information
trop[bot] and mckravchyk committed Jan 4, 2022
1 parent aed4df5 commit efd6f85
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 efd6f85

Please sign in to comment.