Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TouchEvent

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.

interface TouchEvent extends UIEvent {
readonly altKey: boolean;
readonly changedTouches: TouchList;
readonly ctrlKey: boolean;
readonly metaKey: boolean;
readonly shiftKey: boolean;
readonly targetTouches: TouchList;
readonly touches: TouchList;
}
var TouchEvent: {
prototype: TouchEvent;
new (type: string, eventInitDict?: TouchEventInit): TouchEvent;
}
;

§Extends

§Properties

§
readonly altKey: boolean
[src]
§
readonly changedTouches: TouchList
[src]
§
readonly ctrlKey: boolean
[src]
§
readonly metaKey: boolean
[src]
§
readonly shiftKey: boolean
[src]
§
readonly targetTouches: TouchList
[src]
§
readonly touches: TouchList
[src]