Skip to content

1681-engine / index / currentOrientationKind

Function: currentOrientationKind() ​

ts
function currentOrientationKind(target?): "landscape" | "portrait" | null;

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

'landscape', 'portrait', or null where the platform does not say.

Parameters ​

ParameterType
targetOrientationTarget | null

Returns ​

"landscape" | "portrait" | null

Released under the MIT License.