1.4 KiB
1.4 KiB
Home > puppeteer > Protocol > Input > TouchPoint
Protocol.Input.TouchPoint interface
Signature:
export interface TouchPoint
Properties
Property | Type | Description |
---|---|---|
force | number | Force (default: 1.0). |
id | number | Identifier used to track touch sources between events, must be unique within an event. |
radiusX | number | X radius of the touch area (default: 1.0). |
radiusY | number | Y radius of the touch area (default: 1.0). |
rotationAngle | number | Rotation angle (default: 0.0). |
x | number | X coordinate of the event relative to the main frame's viewport in CSS pixels. |
y | number | Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. |