I
ScreenOrientation
testeddemoSubset of the `ScreenOrientation` interface that we interact with.
Demo
Loading demo…
Signature
ts
interface ScreenOrientation extends EventTargetProperties
| Property | Type | Description |
|---|---|---|
typereadonly | OrientationType | — |
anglereadonly | number | — |
lock | (orientation: OrientationLockType) => Promise<void> | — |
unlock | () => void | — |