Skip to main content
Module

x/evt/mod.ts>dom.PointerEvent

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

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