f07ad2c661
This PR updates the docs regarding configuring puppeteer. In addition, some changes have been made to the documentation generator to show default values on the documentation site. Also fixes: https://github.com/puppeteer/puppeteer/pull/9144
20 lines
344 B
Markdown
20 lines
344 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;
|
|
}
|
|
```
|
|
|
|
#### Default value:
|
|
|
|
1
|