docs: fix typo in Viewport fields (#9293)

The `deviceScalarFactor` field of `Viewport` is actually named
`deviceScaleFactor`.
This commit is contained in:
Guillaume Gomez
2022-11-17 17:27:07 +01:00
committed by GitHub
parent b6ffa732ac
commit 0a2d310e4e
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class Page {
- `height`: page's height in pixels
- `deviceScalarFactor`: Specify device scale factor (can be though of as dpr). Defaults to `1`.
- `deviceScaleFactor`: Specify device scale factor (can be though of as dpr). Defaults to `1`.
- `isMobile`: Whether the meta viewport tag is taken into account. Defaults to `false`.