Skip to main content
Latest
variable onmousedown
import { onmousedown } from "https://deno.land/x/domtype@v1.0.4/domtype.d.ts";

Fires when the user clicks the object with either mouse button.

type

((this: Window, ev: MouseEvent) => any) | null