puppeteer/new-docs/puppeteer.protocol.input.synthesizepinchgesturerequest.md
2020-07-13 14:01:35 +01:00

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.