Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.MSPointerEvent
implements MouseEvent
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { MSPointerEvent } = dom;

Properties

readonly
currentPoint: any
readonly
height: number
readonly
hwTimestamp: number
readonly
intermediatePoints: any
readonly
isPrimary: boolean
readonly
pointerId: number
readonly
pointerType: any
readonly
pressure: number
readonly
rotation: number
readonly
tiltX: number
readonly
tiltY: number
readonly
width: number

Methods

getCurrentPoint(element: Element): void
getIntermediatePoints(element: Element): void
initPointerEvent(
typeArg: string,
canBubbleArg: boolean,
cancelableArg: boolean,
viewArg: Window,
detailArg: number,
screenXArg: number,
screenYArg: number,
clientXArg: number,
clientYArg: number,
ctrlKeyArg: boolean,
altKeyArg: boolean,
shiftKeyArg: boolean,
metaKeyArg: boolean,
buttonArg: number,
relatedTargetArg: EventTarget,
offsetXArg: number,
offsetYArg: number,
widthArg: number,
heightArg: number,
pressure: number,
rotation: number,
tiltX: number,
tiltY: number,
pointerIdArg: number,
pointerType: any,
hwTimestampArg: number,
isPrimary: boolean,
): void