puppeteer/new-docs/puppeteer.protocol.input.dispatchtoucheventrequest.md

22 lines
1.6 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Input](./puppeteer.protocol.input.md) &gt; [DispatchTouchEventRequest](./puppeteer.protocol.input.dispatchtoucheventrequest.md)
## Protocol.Input.DispatchTouchEventRequest interface
<b>Signature:</b>
```typescript
export interface DispatchTouchEventRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [modifiers](./puppeteer.protocol.input.dispatchtoucheventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
| [timestamp](./puppeteer.protocol.input.dispatchtoucheventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred. |
| [touchPoints](./puppeteer.protocol.input.dispatchtoucheventrequest.touchpoints.md) | [TouchPoint](./puppeteer.protocol.input.touchpoint.md)<!-- -->\[\] | Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one. |
| [type](./puppeteer.protocol.input.dispatchtoucheventrequest.type.md) | ('touchStart' \| 'touchEnd' \| 'touchMove' \| 'touchCancel') | Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one. (DispatchTouchEventRequestType enum) |