docs: note macOS fullscreen events in fullscreen query (#43016)
docs: note macOS fullscreen events in fs query Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
7f6eab8c25
commit
f797f92716
1 changed files with 2 additions and 0 deletions
|
@ -690,6 +690,8 @@ Sets whether the window should be in fullscreen mode.
|
||||||
|
|
||||||
Returns `boolean` - Whether the window is in fullscreen mode.
|
Returns `boolean` - Whether the window is in fullscreen mode.
|
||||||
|
|
||||||
|
**Note:** On macOS, fullscreen transitions take place asynchronously. When querying for a BrowserWindow's fullscreen status, you should ensure that either the ['enter-full-screen'](browser-window.md#event-enter-full-screen) or ['leave-full-screen'](browser-window.md#event-leave-full-screen) events have been emitted.
|
||||||
|
|
||||||
#### `win.setSimpleFullScreen(flag)` _macOS_
|
#### `win.setSimpleFullScreen(flag)` _macOS_
|
||||||
|
|
||||||
* `flag` boolean
|
* `flag` boolean
|
||||||
|
|
Loading…
Reference in a new issue