Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation #8858

Merged
merged 1 commit into from Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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