Skip to content

1681-engine / index / exitFullscreen

Function: exitFullscreen() ​

ts
function exitFullscreen(doc?): Promise<boolean>;

Defined in: src/platform/fullscreen.ts:60

Leaves fullscreen; resolves false when nothing was in it or the browser refused.

Parameters ​

ParameterType
docFullscreenDocument | null

Returns ​

Promise<boolean>

Released under the MIT License.