mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
16 lines
319 B
Markdown
16 lines
319 B
Markdown
|
---
|
||
|
sidebar_label: Viewport.deviceScaleFactor
|
||
|
---
|
||
|
|
||
|
# Viewport.deviceScaleFactor property
|
||
|
|
||
|
Specify device scale factor. See [devicePixelRatio](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio) for more info.
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
interface Viewport {
|
||
|
deviceScaleFactor?: number;
|
||
|
}
|
||
|
```
|