Skip to content

1681-engine / index / unlockOrientation

Function: unlockOrientation() ​

ts
function unlockOrientation(target?): void;

Defined in: src/platform/orientation.ts:34

Lets the screen turn freely again; a no-op where nothing could be locked.

Parameters ​

ParameterType
targetOrientationTarget | null

Returns ​

void

Released under the MIT License.