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

PointerEvent

The state of a DOM event produced by a pointer such as the geometry of the contact point, the device type that generated the event, the amount of pressure that was applied on the contact surface, etc.

interface PointerEvent extends MouseEvent {
readonly height: number;
readonly isPrimary: boolean;
readonly pointerId: number;
readonly pointerType: string;
readonly pressure: number;
readonly tangentialPressure: number;
readonly tiltX: number;
readonly tiltY: number;
readonly twist: number;
readonly width: number;
getCoalescedEvents(): PointerEvent[];
getPredictedEvents(): PointerEvent[];
}
var PointerEvent: {
prototype: PointerEvent;
new (type: string, eventInitDict?: PointerEventInit): PointerEvent;
}
;

§Extends

§Properties

§
readonly height: number
[src]
§
readonly isPrimary: boolean
[src]
§
readonly pointerId: number
[src]
§
readonly pointerType: string
[src]
§
readonly pressure: number
[src]
§
readonly tangentialPressure: number
[src]
§
readonly tiltX: number
[src]
§
readonly tiltY: number
[src]
§
readonly twist: number
[src]
§
readonly width: number
[src]

§Methods

§
getCoalescedEvents(): PointerEvent[]
[src]

Available only in secure contexts.

§
getPredictedEvents(): PointerEvent[]
[src]