puppeteer/website/versioned_docs/version-10.0.0/puppeteer.device.viewport.md

19 lines
471 B
Markdown
Raw Normal View History

<!-- 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;
};
```