Skip to content

waygraph / normalizeDeviceOrientation

Function: normalizeDeviceOrientation() ​

normalizeDeviceOrientation(raw): DeviceOrientation | undefined

Defined in: src/demo/narration/device.ts:41

A device orientation: portrait or landscape.

Parameters ​

raw ​

unknown

Returns ​

DeviceOrientation | undefined

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed