docs: correct webFrame description (#32205)

The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame.
This commit is contained in:
Maciej Krawczyk 2022-01-04 02:12:55 +01:00 committed by GitHub
parent 4600d7e7f6
commit 84f1d78558
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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%.