UNPKG

@doczilla/node

Version:
32 lines (30 loc) 808 B
/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ export type ScreenshotViewport = { /** * The page width in CSS pixels. */ width: number; /** * The page height in CSS pixels. */ height: number; /** * Specify device scale factor. See [devicePixelRatio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio) for more info. */ deviceScaleFactor?: number; /** * Whether the `meta viewport` tag is taken into account. */ isMobile?: boolean; /** * Specify if the viewport supports touch events. */ hasTouch?: boolean; /** * Specifies if the viewport is in landscape mode. */ isLandscape?: boolean; };