Skip to content

Commit

Permalink
fix: typos in documentation (#8858)
Browse files Browse the repository at this point in the history
- corder should be corner
  • Loading branch information
amaitland committed Aug 30, 2022
1 parent e2d9858 commit 8d95a9b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/api/puppeteer.clickoptions.md
Expand Up @@ -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. |
2 changes: 1 addition & 1 deletion docs/api/puppeteer.clickoptions.offset.md
Expand Up @@ -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:**

Expand Down
4 changes: 2 additions & 2 deletions docs/api/puppeteer.offset.md
Expand Up @@ -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. |
2 changes: 1 addition & 1 deletion docs/api/puppeteer.offset.x.md
Expand Up @@ -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:**

Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.offset.y.md
Expand Up @@ -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:**

Expand Down
6 changes: 3 additions & 3 deletions src/common/JSHandle.ts
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 8d95a9b

Please sign in to comment.