mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
corrected minor typos (#322)
This commit is contained in:
parent
7cef3d7ce7
commit
e5876c7b4e
@ -320,7 +320,7 @@ Shortcut for [page.mainFrame().click(selector[, options])](#frameclickselector-o
|
|||||||
- `viewport` <[Object]>
|
- `viewport` <[Object]>
|
||||||
- `width` <[number]> page width in pixels.
|
- `width` <[number]> page width in pixels.
|
||||||
- `height` <[number]> page height in pixels.
|
- `height` <[number]> page height in pixels.
|
||||||
- `deviceScaleFactor` <[number]> Specify device scale factor (could be though of as dpr). Defaults to `1`.
|
- `deviceScaleFactor` <[number]> Specify device scale factor (could be thought of as dpr). Defaults to `1`.
|
||||||
- `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`.
|
- `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`.
|
||||||
- `hasTouch`<[boolean]> Specifies if viewport supports touch events. Defaults to `false`
|
- `hasTouch`<[boolean]> Specifies if viewport supports touch events. Defaults to `false`
|
||||||
- `isLandscape` <[boolean]> Specifies if viewport is in landscape mode. Defaults to `false`.
|
- `isLandscape` <[boolean]> Specifies if viewport is in landscape mode. Defaults to `false`.
|
||||||
@ -651,7 +651,7 @@ puppeteer.launch().then(async browser => {
|
|||||||
- `viewport` <[Object]>
|
- `viewport` <[Object]>
|
||||||
- `width` <[number]> page width in pixels.
|
- `width` <[number]> page width in pixels.
|
||||||
- `height` <[number]> page height in pixels.
|
- `height` <[number]> page height in pixels.
|
||||||
- `deviceScaleFactor` <[number]> Specify device scale factor (could be though of as dpr). Defaults to `1`.
|
- `deviceScaleFactor` <[number]> Specify device scale factor (could be thought of as dpr). Defaults to `1`.
|
||||||
- `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`.
|
- `isMobile` <[boolean]> Whether the `meta viewport` tag is taken into account. Defaults to `false`.
|
||||||
- `hasTouch`<[boolean]> Specifies if viewport supports touch events. Defaults to `false`
|
- `hasTouch`<[boolean]> Specifies if viewport supports touch events. Defaults to `false`
|
||||||
- `isLandscape` <[boolean]> Specifies if viewport is in landscape mode. Defaults to `false`.
|
- `isLandscape` <[boolean]> Specifies if viewport is in landscape mode. Defaults to `false`.
|
||||||
|
Loading…
Reference in New Issue
Block a user