feat: add webContents 'zoom-changed' event (#17747)
This commit is contained in:
parent
23b0487e9b
commit
6609138959
4 changed files with 52 additions and 0 deletions
|
@ -374,6 +374,14 @@ Emitted when the window enters a full-screen state triggered by HTML API.
|
|||
|
||||
Emitted when the window leaves a full-screen state triggered by HTML API.
|
||||
|
||||
#### Event: 'zoom-changed'
|
||||
|
||||
Returns:
|
||||
* `event` Event
|
||||
* `zoomDirection` String - Can be `in` or `out`.
|
||||
|
||||
Emitted when the user is requesting to change the zoom level using the mouse wheel.
|
||||
|
||||
#### Event: 'devtools-opened'
|
||||
|
||||
Emitted when DevTools is opened.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue