mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
30 lines
2.7 KiB
Markdown
30 lines
2.7 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [SynthesizeScrollGestureRequest](./puppeteer.protocol.input.synthesizescrollgesturerequest.md)
|
|
|
|
## Protocol.Input.SynthesizeScrollGestureRequest interface
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface SynthesizeScrollGestureRequest
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [gestureSourceType](./puppeteer.protocol.input.synthesizescrollgesturerequest.gesturesourcetype.md) | [GestureSourceType](./puppeteer.protocol.input.gesturesourcetype.md) | Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
|
|
| [interactionMarkerName](./puppeteer.protocol.input.synthesizescrollgesturerequest.interactionmarkername.md) | string | The name of the interaction markers to generate, if not empty (default: ""). |
|
|
| [preventFling](./puppeteer.protocol.input.synthesizescrollgesturerequest.preventfling.md) | boolean | Prevent fling (default: true). |
|
|
| [repeatCount](./puppeteer.protocol.input.synthesizescrollgesturerequest.repeatcount.md) | [integer](./puppeteer.protocol.integer.md) | The number of times to repeat the gesture (default: 0). |
|
|
| [repeatDelayMs](./puppeteer.protocol.input.synthesizescrollgesturerequest.repeatdelayms.md) | [integer](./puppeteer.protocol.integer.md) | The number of milliseconds delay between each repeat. (default: 250). |
|
|
| [speed](./puppeteer.protocol.input.synthesizescrollgesturerequest.speed.md) | [integer](./puppeteer.protocol.integer.md) | Swipe speed in pixels per second (default: 800). |
|
|
| [x](./puppeteer.protocol.input.synthesizescrollgesturerequest.x.md) | number | X coordinate of the start of the gesture in CSS pixels. |
|
|
| [xDistance](./puppeteer.protocol.input.synthesizescrollgesturerequest.xdistance.md) | number | The distance to scroll along the X axis (positive to scroll left). |
|
|
| [xOverscroll](./puppeteer.protocol.input.synthesizescrollgesturerequest.xoverscroll.md) | number | The number of additional pixels to scroll back along the X axis, in addition to the given distance. |
|
|
| [y](./puppeteer.protocol.input.synthesizescrollgesturerequest.y.md) | number | Y coordinate of the start of the gesture in CSS pixels. |
|
|
| [yDistance](./puppeteer.protocol.input.synthesizescrollgesturerequest.ydistance.md) | number | The distance to scroll along the Y axis (positive to scroll up). |
|
|
| [yOverscroll](./puppeteer.protocol.input.synthesizescrollgesturerequest.yoverscroll.md) | number | The number of additional pixels to scroll back along the Y axis, in addition to the given distance. |
|
|
|