Skip to content

Function: exitFullscreen()

ts
function exitFullscreen(): Promise<void>;

Exits fullscreen mode, using the vendor-prefixed API when necessary.

Returns

Promise<void>

A promise that resolves when fullscreen has been exited.

Example

ts
exitFullscreen()

Since

1.0.0

Released under the MIT License.