interface Window
extends EventTarget
Properties Jump to heading
readonly
Jump to headingwindow: Window & globalThis
readonly
Jump to headingself: Window & globalThis
Jump to headingonerror: ((this: Window,ev: ErrorEvent,) => any) | null
Jump to headingonload: (() => any) | null
Jump to headingonbeforeunload: (() => any) | null
Jump to headingonunload: (() => any) | null
Jump to headingonunhandledrejection: ((this: Window,) => any) | null
Jump to headingonrejectionhandled: ((this: Window,) => any) | null
Jump to headingclose: () => void
readonly
Jump to headingclosed: boolean
Jump to headingalert: (message?: string) => void
Jump to headingconfirm: (message?: string) => boolean
Jump to headingprompt: (message?: string,defaultValue?: string,) => string | null
Jump to headingDeno: Deno
Jump to headingname: string
Methods Jump to heading
Jump to headingaddEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | AddEventListenerOptions,): void
Jump to headingaddEventListener(type: string,listener: EventListenerOrEventListenerObject,options?: boolean | AddEventListenerOptions,): void
Jump to headingremoveEventListener<K extends keyof WindowEventMap>(type: K,listener: (this: Window,ev: WindowEventMap[K],) => any,options?: boolean | EventListenerOptions,): void