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

onfocus

Fires when the object receives focus.

var onfocus: ((this: Window, ev: FocusEvent) => any) | null;