interface Window
implements EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowConsole, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage
import { type Window } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
A window containing a DOM document; the document property points to the DOM document loaded in that window.
Index Signatures
index: number]: Window
[Properties
readonly
clientInformation: Navigatorreadonly
deprecated
event: Event | undefinedreadonly
frames: Windowlocation: Location
ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null
ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null
onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null
readonly
parent: Windowreadonly
self: Window & globalThisreadonly
top: Windowreadonly
window: Window & globalThisMethods
open(): Window | null
url?: string,
target?: string,
features?: string,
replace?: boolean,
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,