class Window
extends EventTarget

Properties

alert: (message?: string) => void[src]
close: () => void[src]
readonly
closed: boolean
[src]
confirm: (message?: string) => boolean[src]
Deno: Deno[src]
localStorage: Storage[src]
location: Location[src]
Location: Location[src]
navigator: Navigator[src]
Navigator: Navigator[src]
onerror: ((this: Window, ev: ErrorEvent) => any) | null[src]
onload: ((this: Window, ev: Event) => any) | null[src]
onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null[src]
onunload: ((this: Window, ev: Event) => any) | null[src]
prompt: (message?: string, defaultValue?: string) => string | null[src]
readonly
self: Window & globalThis
[src]
sessionStorage: Storage[src]
readonly
window: Window & globalThis
[src]

Methods

addEventListener<K extends keyof WindowEventMap>(
type: K,
listener: (this: Window, ev: WindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
removeEventListener<K extends keyof WindowEventMap>(
type: K,
listener: (this: Window, ev: WindowEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]