puppeteer/docs/api/puppeteer.offset.md

71 lines
648 B
Markdown
Raw Permalink Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Offset
---
# Offset interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface Offset
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th><th>
Default
</th></tr></thead>
<tbody><tr><td>
<span id="x">x</span>
</td><td>
</td><td>
number
</td><td>
x-offset for the clickable point relative to the top-left corner of the border box.
</td><td>
</td></tr>
<tr><td>
<span id="y">y</span>
</td><td>
</td><td>
number
</td><td>
y-offset for the clickable point relative to the top-left corner of the border box.
</td><td>
</td></tr>
</tbody></table>