mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.5 KiB
1.5 KiB
Home > puppeteer > Protocol > Input > SynthesizePinchGestureRequest
Protocol.Input.SynthesizePinchGestureRequest interface
Signature:
export interface SynthesizePinchGestureRequest
Properties
Property | Type | Description |
---|---|---|
gestureSourceType | GestureSourceType | Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
relativeSpeed | integer | Relative pointer speed in pixels per second (default: 800). |
scaleFactor | number | Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out). |
x | number | X coordinate of the start of the gesture in CSS pixels. |
y | number | Y coordinate of the start of the gesture in CSS pixels. |