Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/index.ts>dom.Touch

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Touch
import { type dom } from "https://deno.land/x/evt@v2.4.18/lib/index.ts";
const { Touch } = dom;

A single contact point on a touch-sensitive device. The contact point is commonly a finger or stylus and the device may be a touchscreen or trackpad.

Properties

readonly
altitudeAngle: number
readonly
azimuthAngle: number
readonly
clientX: number
readonly
clientY: number
readonly
force: number
readonly
identifier: number
readonly
pageX: number
readonly
pageY: number
readonly
radiusX: number
readonly
radiusY: number
readonly
rotationAngle: number
readonly
screenX: number
readonly
screenY: number
readonly
target: EventTarget
readonly
touchType: TouchType