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 ​
| Parameter | Type |
|---|---|
target | OrientationTarget | null |
Returns ​
"landscape" | "portrait" | null