Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface default.Emulation.ScreenOrientation
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { ScreenOrientation } = default.Emulation;

Screen orientation.

Properties

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

Orientation type. (ScreenOrientationType enum)

angle: integer

Orientation angle.