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

x/deno/cli/tsc/dts/lib.deno.window.d.ts>onunload

A modern runtime for JavaScript and TypeScript.
Latest
variable onunload
import { onunload } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.window.d.ts";

type

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