mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
parent
e2d9858b38
commit
8d95a9bc92
@ -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. |
|
||||
|
@ -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:**
|
||||
|
||||
|
@ -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. |
|
||||
|
@ -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:**
|
||||
|
||||
|
@ -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:**
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user