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:
Samuel Maddock 2019-03-07 18:29:37 -05:00 committed by Samuel Attard
parent f3fc4023cf
commit ac88b3ead5
7 changed files with 58 additions and 1 deletions

View file

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