Skip to main content
Module

x/evt/lib/types/index.ts>dom.TouchEvent

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

An event sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth.

Properties

readonly
altKey: boolean
readonly
changedTouches: TouchList
readonly
ctrlKey: boolean
readonly
metaKey: boolean
readonly
shiftKey: boolean
readonly
targetTouches: TouchList
readonly
touches: TouchList