Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.dom.d.ts>onmousedown

A modern runtime for JavaScript and TypeScript.
Go to Latest
variable onmousedown
import { onmousedown } from "https://deno.land/x/deno@v1.28.1/cli/dts/lib.dom.d.ts";

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

type

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