Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Input.SynthesizePinchGestureRequest

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Input.SynthesizePinchGestureRequest
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { SynthesizePinchGestureRequest } = Protocol.Input;

Properties

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.

scaleFactor: number

Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).

optional
relativeSpeed: integer

Relative pointer speed in pixels per second (default: 800).

optional
gestureSourceType: GestureSourceType

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).