Skip to main content
Module

x/evt/lib/types/index.ts>dom.BeforeUnloadEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.BeforeUnloadEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/types/index.ts";
const { BeforeUnloadEvent } = dom;

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

Properties

returnValue: any