feat: add 'disableHtmlFullscreenWindowResize' option to webPreferences (#17203)
This option allows users to prevent the window from resizing when the HTML5 FullScreen API is used.
This commit is contained in:
parent
f3fc4023cf
commit
ac88b3ead5
7 changed files with 58 additions and 1 deletions
|
@ -361,6 +361,14 @@ win.webContents.on('before-input-event', (event, input) => {
|
|||
})
|
||||
```
|
||||
|
||||
#### Event: 'enter-html-full-screen'
|
||||
|
||||
Emitted when the window enters a full-screen state triggered by HTML API.
|
||||
|
||||
#### Event: 'leave-html-full-screen'
|
||||
|
||||
Emitted when the window leaves a full-screen state triggered by HTML API.
|
||||
|
||||
#### Event: 'devtools-opened'
|
||||
|
||||
Emitted when DevTools is opened.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue