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

x/evt/lib/types/lib.dom.ts>PointerEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface PointerEvent
implements MouseEvent
import { type PointerEvent } from "https://deno.land/x/evt@v2.5.6/lib/types/lib.dom.ts";

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.

Properties

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