From 7b780c1ad95adf5ee66fb1de00843a9aa686fdf8 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 30 Aug 2022 11:16:48 +1000 Subject: [PATCH] fix: typos in documentation - corder should be corner --- docs/api/puppeteer.clickoptions.md | 2 +- docs/api/puppeteer.clickoptions.offset.md | 2 +- docs/api/puppeteer.offset.md | 4 ++-- docs/api/puppeteer.offset.x.md | 2 +- docs/api/puppeteer.offset.y.md | 2 +- src/common/JSHandle.ts | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/api/puppeteer.clickoptions.md b/docs/api/puppeteer.clickoptions.md index bc0f0c16da63e..141e177adb531 100644 --- a/docs/api/puppeteer.clickoptions.md +++ b/docs/api/puppeteer.clickoptions.md @@ -17,4 +17,4 @@ export interface ClickOptions | [button?](./puppeteer.clickoptions.button.md) | | [MouseButton](./puppeteer.mousebutton.md) | (Optional) | | [clickCount?](./puppeteer.clickoptions.clickcount.md) | | number | (Optional) | | [delay?](./puppeteer.clickoptions.delay.md) | | number | (Optional) Time to wait between mousedown and mouseup in milliseconds. | -| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | (Optional) Offset for the clickable point relative to the top-left corder of the border box. | +| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | (Optional) Offset for the clickable point relative to the top-left corner of the border box. | diff --git a/docs/api/puppeteer.clickoptions.offset.md b/docs/api/puppeteer.clickoptions.offset.md index 40bd871040ab3..a5cddb71a8c84 100644 --- a/docs/api/puppeteer.clickoptions.offset.md +++ b/docs/api/puppeteer.clickoptions.offset.md @@ -4,7 +4,7 @@ sidebar_label: ClickOptions.offset # ClickOptions.offset property -Offset for the clickable point relative to the top-left corder of the border box. +Offset for the clickable point relative to the top-left corner of the border box. **Signature:** diff --git a/docs/api/puppeteer.offset.md b/docs/api/puppeteer.offset.md index f37e6a7cedb0e..25b18cf613c60 100644 --- a/docs/api/puppeteer.offset.md +++ b/docs/api/puppeteer.offset.md @@ -14,5 +14,5 @@ export interface Offset | Property | Modifiers | Type | Description | | ---------------------------- | --------- | ------ | ----------------------------------------------------------------------------------- | -| [x](./puppeteer.offset.x.md) | | number | x-offset for the clickable point relative to the top-left corder of the border box. | -| [y](./puppeteer.offset.y.md) | | number | y-offset for the clickable point relative to the top-left corder of the border box. | +| [x](./puppeteer.offset.x.md) | | number | x-offset for the clickable point relative to the top-left corner of the border box. | +| [y](./puppeteer.offset.y.md) | | number | y-offset for the clickable point relative to the top-left corner of the border box. | diff --git a/docs/api/puppeteer.offset.x.md b/docs/api/puppeteer.offset.x.md index fb77b75848d76..e8b17f642933e 100644 --- a/docs/api/puppeteer.offset.x.md +++ b/docs/api/puppeteer.offset.x.md @@ -4,7 +4,7 @@ sidebar_label: Offset.x # Offset.x property -x-offset for the clickable point relative to the top-left corder of the border box. +x-offset for the clickable point relative to the top-left corner of the border box. **Signature:** diff --git a/docs/api/puppeteer.offset.y.md b/docs/api/puppeteer.offset.y.md index cc59ba1e89e7a..734a4a341a9b3 100644 --- a/docs/api/puppeteer.offset.y.md +++ b/docs/api/puppeteer.offset.y.md @@ -4,7 +4,7 @@ sidebar_label: Offset.y # Offset.y property -y-offset for the clickable point relative to the top-left corder of the border box. +y-offset for the clickable point relative to the top-left corner of the border box. **Signature:** diff --git a/src/common/JSHandle.ts b/src/common/JSHandle.ts index 60ec2a3d1acde..55613eb6102f5 100644 --- a/src/common/JSHandle.ts +++ b/src/common/JSHandle.ts @@ -276,11 +276,11 @@ export class JSHandle { */ export interface Offset { /** - * x-offset for the clickable point relative to the top-left corder of the border box. + * x-offset for the clickable point relative to the top-left corner of the border box. */ x: number; /** - * y-offset for the clickable point relative to the top-left corder of the border box. + * y-offset for the clickable point relative to the top-left corner of the border box. */ y: number; } @@ -304,7 +304,7 @@ export interface ClickOptions { */ clickCount?: number; /** - * Offset for the clickable point relative to the top-left corder of the border box. + * Offset for the clickable point relative to the top-left corner of the border box. */ offset?: Offset; }