Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

onclick

Fires when the user clicks the left mouse button on the object

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