onunload

variable

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

Unload event handler for the window. In Ende, this is primarily for API compatibility with browsers.