Skip to content

Commit

Permalink
docs: correct webFrame description (#32326)
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 eb7a897 commit cefa1bb
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 cefa1bb

Please sign in to comment.