import { type dom } from "https://deno.land/x/evt@v2.3.1/mod.ts";
const { Window } = dom;
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
applicationCache: ApplicationCachereadonly
clientInformation: NavigatorcustomElements: CustomElementRegistry
readonly
document: Documentreadonly
deprecated
event: Event | undefinedreadonly
deprecated
external: Externalreadonly
frameElement: Elementreadonly
frames: Windowreadonly
history: Historylocation: Location
readonly
locationbar: BarPropreadonly
msContentScript: ExtensionScriptApisondevicelight: ((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
personalbar: BarPropreadonly
screen: Screenreadonly
scrollbars: BarPropreadonly
self: Window & globalThisreadonly
speechSynthesis: SpeechSynthesisreadonly
statusbar: BarPropreadonly
styleMedia: StyleMediareadonly
toolbar: BarPropreadonly
top: Windowreadonly
window: Window & globalThisMethods
departFocus(navigationReason: NavigationReason, origin: FocusNavigationOrigin): void
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration
getMatchedCSSRules(elt: Element, pseudoElt?: string | null): CSSRuleList
getSelection(): Selection | null
matchMedia(query: string): MediaQueryList
open(): Window | null
url?: string,
target?: string,
features?: string,
replace?: boolean,
scroll(options?: ScrollToOptions): void
scrollBy(options?: ScrollToOptions): void
scrollTo(options?: ScrollToOptions): void
webkitConvertPointFromNodeToPage(node: Node, pt: WebKitPoint): WebKitPoint
webkitConvertPointFromPageToNode(node: Node, pt: WebKitPoint): WebKitPoint
webkitRequestAnimationFrame(callback: FrameRequestCallback): number
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,