fix: typos in documentation (#8858)

- corder should be corner
This commit is contained in:
Alex Maitland 2022-08-30 21:45:59 +10:00 committed by GitHub
parent e2d9858b38
commit 8d95a9bc92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View File

@ -17,4 +17,4 @@ export interface ClickOptions
| [button?](./puppeteer.clickoptions.button.md) | | [MouseButton](./puppeteer.mousebutton.md) | <i>(Optional)</i> |
| [clickCount?](./puppeteer.clickoptions.clickcount.md) | | number | <i>(Optional)</i> |
| [delay?](./puppeteer.clickoptions.delay.md) | | number | <i>(Optional)</i> Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. |
| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | <i>(Optional)</i> Offset for the clickable point relative to the top-left corder of the border box. |
| [offset?](./puppeteer.clickoptions.offset.md) | | [Offset](./puppeteer.offset.md) | <i>(Optional)</i> Offset for the clickable point relative to the top-left corner of the border box. |

View File

@ -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:**

View File

@ -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. |

View File

@ -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:**

View File

@ -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:**

View File

@ -276,11 +276,11 @@ export class JSHandle<T = unknown> {
*/
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;
}