Skip to content

marble3 / lockLandscape

Function: lockLandscape() ​

lockLandscape(): Promise<void>

Defined in: src/orientation.ts:154

Asks the browser to hold landscape. Only Chromium on Android grants it, and only in fullscreen; anywhere else this resolves without effect, never rejects.

Returns ​

Promise<void>