Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface BeforeUnloadEvent
implements Event
import { type BeforeUnloadEvent } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

The beforeunload event is fired when the window, the document and its resources are about to be unloaded.

Properties

returnValue: any