22 lines
1.6 KiB
Markdown
22 lines
1.6 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) > [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. |
|
||
|
|