puppeteer/website/versioned_docs/version-10.1.0/puppeteer.device.viewport.md
2021-08-10 11:09:48 +01:00

19 lines
471 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Device](./puppeteer.device.md) &gt; [viewport](./puppeteer.device.viewport.md)
## Device.viewport property
<b>Signature:</b>
```typescript
viewport: {
width: number;
height: number;
deviceScaleFactor: number;
isMobile: boolean;
hasTouch: boolean;
isLandscape: boolean;
};
```