class Window
extends EventTarget
import { Window } from "https://deno.land/x/deno@v1.32.3/cli/tsc/dts/lib.deno.window.d.ts";
Properties
caches: CacheStorage
localStorage: Storage
location: Location
onerror: ((this: Window, ev: ErrorEvent) => any) | null
onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null
readonly
self: Window & globalThissessionStorage: Storage
readonly
window: Window & globalThisMethods
addEventListener<K extends keyof WindowEventMap>(): void
type: K,
listener: (this: Window, ev: WindowEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof WindowEventMap>(): void
type: K,
listener: (this: Window, ev: WindowEventMap[K]) => any,
options?: boolean | EventListenerOptions,
removeEventListener(): void