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

x/evt/lib/types/index.ts>dom.MouseEventInit

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

Properties

optional
button: number
optional
buttons: number
optional
clientX: number
optional
clientY: number
optional
movementX: number
optional
movementY: number
optional
relatedTarget: EventTarget | null
optional
screenX: number
optional
screenY: number