puppeteer/docs/api/puppeteer.offset.md

71 lines
648 B
Markdown

---
sidebar_label: Offset
---
# Offset interface
#### Signature:
```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>