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

Properties

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.

optional
radiusX: number

X radius of the touch area (default: 1.0).

optional
radiusY: number

Y radius of the touch area (default: 1.0).

optional
rotationAngle: number

Rotation angle (default: 0.0).

optional
force: number

Force (default: 1.0).

optional
id: number

Identifier used to track touch sources between events, must be unique within an event.