Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Emulation.ScreenOrientation
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ScreenOrientation } = Protocol.Emulation;

Screen orientation.

Properties

type:
| "portraitPrimary"
| "portraitSecondary"
| "landscapePrimary"
| "landscapeSecondary"

Orientation type. (ScreenOrientationType enum)

angle: integer

Orientation angle.