From e5876c7b4e004921b72bb80b9a9ec477184389ed Mon Sep 17 00:00:00 2001 From: Chandan Rai Date: Thu, 17 Aug 2017 10:27:23 +0530 Subject: [PATCH] corrected minor typos (#322) --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 0044b902..4cb3500f 100644 --- a/docs/api.md +++ b/docs/api.md @@ -320,7 +320,7 @@ Shortcut for [page.mainFrame().click(selector[, options])](#frameclickselector-o - `viewport` <[Object]> - `width` <[number]> page width 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`. - `hasTouch`<[boolean]> Specifies if viewport supports touch events. 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]> - `width` <[number]> page width 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`. - `hasTouch`<[boolean]> Specifies if viewport supports touch events. Defaults to `false` - `isLandscape` <[boolean]> Specifies if viewport is in landscape mode. Defaults to `false`.