docs: add note to win.setFullScreen(flag) (#37921)

docs: add note to win.setFullScreen(flag)
This commit is contained in:
Shelley Vohr 2023-04-17 10:45:40 +02:00 committed by GitHub
parent f0e1848a5e
commit c857c9b7e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -992,6 +992,8 @@ Returns `boolean` - Whether the window is minimized.
Sets whether the window should be in fullscreen mode.
**Note:** On macOS, fullscreen transitions take place asynchronously. If further actions depend on the fullscreen state, use the ['enter-full-screen'](browser-window.md#event-enter-full-screen) or ['leave-full-screen'](browser-window.md#event-leave-full-screen) events.
#### `win.isFullScreen()`
Returns `boolean` - Whether the window is in fullscreen mode.