Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Input.SynthesizeScrollGestureRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { SynthesizeScrollGestureRequest } = default.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.

optional
xDistance: number

The distance to scroll along the X axis (positive to scroll left).

optional
yDistance: number

The distance to scroll along the Y axis (positive to scroll up).

optional
xOverscroll: number

The number of additional pixels to scroll back along the X axis, in addition to the given distance.

optional
yOverscroll: number

The number of additional pixels to scroll back along the Y axis, in addition to the given distance.

optional
preventFling: boolean

Prevent fling (default: true).

optional
speed: integer

Swipe 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).

optional
repeatCount: integer

The number of times to repeat the gesture (default: 0).

optional
repeatDelayMs: integer

The number of milliseconds delay between each repeat. (default: 250).

optional
interactionMarkerName: string

The name of the interaction markers to generate, if not empty (default: "").