@ahqstore/env-types / Window
Interface: Window
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36358
The Window interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window.
Extends
EventTarget.AnimationFrameProvider.GlobalEventHandlers.WindowEventHandlers.WindowLocalStorage.WindowOrWorkerGlobalScope.WindowSessionStorage
Indexable
[index: number]: Window
Properties
AHQStore
AHQStore:
AHQStore
Defined in: exports.d.ts:31
caches
readonlycaches:CacheStorage
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36892
Available only in secure contexts.
Inherited from
WindowOrWorkerGlobalScope.caches
clientInformation
readonlyclientInformation:Navigator
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36364
Deprecated
This is a legacy alias of navigator.
closed
readonlyclosed:boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36370
The Window.closed read-only property indicates whether the referenced window is closed or not.
cookieStore
readonlycookieStore:CookieStore
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36376
The cookieStore read-only property of the Window interface returns a reference to the CookieStore object for the current document context.
crossOriginIsolated
readonlycrossOriginIsolated:boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36894
Inherited from
WindowOrWorkerGlobalScope.crossOriginIsolated
crypto
readonlycrypto:Crypto
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36896
Inherited from
WindowOrWorkerGlobalScope.crypto
customElements
readonlycustomElements:CustomElementRegistry
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36382
The customElements read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.
devicePixelRatio
readonlydevicePixelRatio:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36388
The devicePixelRatio of Window interface returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
document
readonlydocument:Document
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36394
window.document returns a reference to the document contained in the window.
event
readonlyevent:Event|undefined
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36401
The read-only Window property event returns the Event which is currently being handled by the site's code.
Deprecated
external
readonlyexternal:External
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36408
The external property of the Window API returns an instance of the External interface, which was intended to contain functions related to adding external search providers to the browser.
Deprecated
frameElement
readonlyframeElement:Element|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36414
The Window.frameElement property returns the element (such as iframe or object) in which the window is embedded.
frames
readonlyframes:Window
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36420
Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.
history
readonlyhistory:History
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36426
The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).
indexedDB
readonlyindexedDB:IDBFactory
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36898
Inherited from
WindowOrWorkerGlobalScope.indexedDB
innerHeight
readonlyinnerHeight:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36432
The read-only innerHeight property of the including the height of the horizontal scroll bar, if present.
innerWidth
readonlyinnerWidth:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36438
The read-only Window property innerWidth returns the interior width of the window in pixels (that is, the width of the window's layout viewport).
isSecureContext
readonlyisSecureContext:boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36900
Inherited from
WindowOrWorkerGlobalScope.isSecureContext
length
readonlylength:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36444
Returns the number of frames (either frame or A number.
localStorage
readonlylocalStorage:Storage
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36883
Inherited from
WindowLocalStorage.localStorage
locationbar
readonlylocationbar:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36457
Returns the locationbar object.
menubar
readonlymenubar:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36463
Returns the menubar object.
name
name:
string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36469
The Window.name property gets/sets the name of the window's browsing context.
navigator
readonlynavigator:Navigator
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36475
The Window.navigator read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.
onabort
onabort: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12743
Inherited from
GlobalEventHandlers.onabort
onafterprint
onafterprint: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36832
Inherited from
WindowEventHandlers.onafterprint
onanimationcancel
onanimationcancel: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12745
Inherited from
GlobalEventHandlers.onanimationcancel
onanimationend
onanimationend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12747
Inherited from
GlobalEventHandlers.onanimationend
onanimationiteration
onanimationiteration: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12749
Inherited from
GlobalEventHandlers.onanimationiteration
onanimationstart
onanimationstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12751
Inherited from
GlobalEventHandlers.onanimationstart
onauxclick
onauxclick: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12753
Inherited from
GlobalEventHandlers.onauxclick
onbeforeinput
onbeforeinput: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12755
Inherited from
GlobalEventHandlers.onbeforeinput
onbeforematch
onbeforematch: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12757
Inherited from
GlobalEventHandlers.onbeforematch
onbeforeprint
onbeforeprint: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36834
Inherited from
WindowEventHandlers.onbeforeprint
onbeforetoggle
onbeforetoggle: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12759
Inherited from
GlobalEventHandlers.onbeforetoggle
onbeforeunload
onbeforeunload: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36836
Inherited from
WindowEventHandlers.onbeforeunload
onblur
onblur: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12761
Inherited from
GlobalEventHandlers.onblur
oncancel
oncancel: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12763
Inherited from
GlobalEventHandlers.oncancel
oncanplay
oncanplay: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12765
Inherited from
GlobalEventHandlers.oncanplay
oncanplaythrough
oncanplaythrough: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12767
Inherited from
GlobalEventHandlers.oncanplaythrough
onchange
onchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12769
Inherited from
GlobalEventHandlers.onchange
onclick
onclick: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12771
Inherited from
GlobalEventHandlers.onclick
onclose
onclose: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12773
Inherited from
GlobalEventHandlers.onclose
oncontextlost
oncontextlost: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12775
Inherited from
GlobalEventHandlers.oncontextlost
oncontextmenu
oncontextmenu: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12777
Inherited from
GlobalEventHandlers.oncontextmenu
oncontextrestored
oncontextrestored: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12779
Inherited from
GlobalEventHandlers.oncontextrestored
oncopy
oncopy: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12781
Inherited from
GlobalEventHandlers.oncopy
oncuechange
oncuechange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12783
Inherited from
GlobalEventHandlers.oncuechange
oncut
oncut: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12785
Inherited from
GlobalEventHandlers.oncut
ondblclick
ondblclick: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12787
Inherited from
GlobalEventHandlers.ondblclick
ondevicemotion
ondevicemotion: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36481
Available only in secure contexts.
ondeviceorientation
ondeviceorientation: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36487
Available only in secure contexts.
ondeviceorientationabsolute
ondeviceorientationabsolute: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36493
Available only in secure contexts.
ondrag
ondrag: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12789
Inherited from
GlobalEventHandlers.ondrag
ondragend
ondragend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12791
Inherited from
GlobalEventHandlers.ondragend
ondragenter
ondragenter: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12793
Inherited from
GlobalEventHandlers.ondragenter
ondragleave
ondragleave: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12795
Inherited from
GlobalEventHandlers.ondragleave
ondragover
ondragover: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12797
Inherited from
GlobalEventHandlers.ondragover
ondragstart
ondragstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12799
Inherited from
GlobalEventHandlers.ondragstart
ondrop
ondrop: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12801
Inherited from
GlobalEventHandlers.ondrop
ondurationchange
ondurationchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12803
Inherited from
GlobalEventHandlers.ondurationchange
onemptied
onemptied: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12805
Inherited from
GlobalEventHandlers.onemptied
onended
onended: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12807
Inherited from
GlobalEventHandlers.onended
onerror
onerror:
OnErrorEventHandler
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12809
Inherited from
GlobalEventHandlers.onerror
onfocus
onfocus: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12811
Inherited from
GlobalEventHandlers.onfocus
onformdata
onformdata: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12813
Inherited from
GlobalEventHandlers.onformdata
ongamepadconnected
ongamepadconnected: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36838
Inherited from
WindowEventHandlers.ongamepadconnected
ongamepaddisconnected
ongamepaddisconnected: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36840
Inherited from
WindowEventHandlers.ongamepaddisconnected
ongotpointercapture
ongotpointercapture: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12815
Inherited from
GlobalEventHandlers.ongotpointercapture
onhashchange
onhashchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36842
Inherited from
WindowEventHandlers.onhashchange
oninput
oninput: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12817
Inherited from
GlobalEventHandlers.oninput
oninvalid
oninvalid: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12819
Inherited from
GlobalEventHandlers.oninvalid
onkeydown
onkeydown: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12821
Inherited from
GlobalEventHandlers.onkeydown
onkeypress
onkeypress: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12827
Deprecated
Inherited from
GlobalEventHandlers.onkeypress
onkeyup
onkeyup: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12829
Inherited from
GlobalEventHandlers.onkeyup
onlanguagechange
onlanguagechange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36844
Inherited from
WindowEventHandlers.onlanguagechange
onload
onload: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12831
Inherited from
GlobalEventHandlers.onload
onloadeddata
onloadeddata: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12833
Inherited from
GlobalEventHandlers.onloadeddata
onloadedmetadata
onloadedmetadata: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12835
Inherited from
GlobalEventHandlers.onloadedmetadata
onloadstart
onloadstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12837
Inherited from
GlobalEventHandlers.onloadstart
onlostpointercapture
onlostpointercapture: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12839
Inherited from
GlobalEventHandlers.onlostpointercapture
onmessage
onmessage: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36846
Inherited from
WindowEventHandlers.onmessage
onmessageerror
onmessageerror: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36848
Inherited from
WindowEventHandlers.onmessageerror
onmousedown
onmousedown: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12841
Inherited from
GlobalEventHandlers.onmousedown
onmouseenter
onmouseenter: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12843
Inherited from
GlobalEventHandlers.onmouseenter
onmouseleave
onmouseleave: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12845
Inherited from
GlobalEventHandlers.onmouseleave
onmousemove
onmousemove: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12847
Inherited from
GlobalEventHandlers.onmousemove
onmouseout
onmouseout: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12849
Inherited from
GlobalEventHandlers.onmouseout
onmouseover
onmouseover: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12851
Inherited from
GlobalEventHandlers.onmouseover
onmouseup
onmouseup: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12853
Inherited from
GlobalEventHandlers.onmouseup
onoffline
onoffline: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36850
Inherited from
WindowEventHandlers.onoffline
ononline
ononline: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36852
Inherited from
WindowEventHandlers.ononline
onorientationchange
onorientationchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36499
Deprecated
onpagehide
onpagehide: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36854
Inherited from
WindowEventHandlers.onpagehide
onpagereveal
onpagereveal: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36856
Inherited from
WindowEventHandlers.onpagereveal
onpageshow
onpageshow: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36858
Inherited from
WindowEventHandlers.onpageshow
onpageswap
onpageswap: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36860
Inherited from
WindowEventHandlers.onpageswap
onpaste
onpaste: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12855
Inherited from
GlobalEventHandlers.onpaste
onpause
onpause: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12857
Inherited from
GlobalEventHandlers.onpause
onplay
onplay: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12859
Inherited from
GlobalEventHandlers.onplay
onplaying
onplaying: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12861
Inherited from
GlobalEventHandlers.onplaying
onpointercancel
onpointercancel: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12863
Inherited from
GlobalEventHandlers.onpointercancel
onpointerdown
onpointerdown: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12865
Inherited from
GlobalEventHandlers.onpointerdown
onpointerenter
onpointerenter: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12867
Inherited from
GlobalEventHandlers.onpointerenter
onpointerleave
onpointerleave: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12869
Inherited from
GlobalEventHandlers.onpointerleave
onpointermove
onpointermove: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12871
Inherited from
GlobalEventHandlers.onpointermove
onpointerout
onpointerout: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12873
Inherited from
GlobalEventHandlers.onpointerout
onpointerover
onpointerover: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12875
Inherited from
GlobalEventHandlers.onpointerover
onpointerrawupdate
onpointerrawupdate: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12881
Available only in secure contexts.
Inherited from
GlobalEventHandlers.onpointerrawupdate
onpointerup
onpointerup: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12883
Inherited from
GlobalEventHandlers.onpointerup
onpopstate
onpopstate: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36862
Inherited from
WindowEventHandlers.onpopstate
onprogress
onprogress: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12885
Inherited from
GlobalEventHandlers.onprogress
onratechange
onratechange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12887
Inherited from
GlobalEventHandlers.onratechange
onrejectionhandled
onrejectionhandled: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36864
Inherited from
WindowEventHandlers.onrejectionhandled
onreset
onreset: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12889
Inherited from
GlobalEventHandlers.onreset
onresize
onresize: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12891
Inherited from
GlobalEventHandlers.onresize
onscroll
onscroll: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12893
Inherited from
GlobalEventHandlers.onscroll
onscrollend
onscrollend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12895
Inherited from
GlobalEventHandlers.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12897
Inherited from
GlobalEventHandlers.onsecuritypolicyviolation
onseeked
onseeked: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12899
Inherited from
GlobalEventHandlers.onseeked
onseeking
onseeking: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12901
Inherited from
GlobalEventHandlers.onseeking
onselect
onselect: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12903
Inherited from
GlobalEventHandlers.onselect
onselectionchange
onselectionchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12905
Inherited from
GlobalEventHandlers.onselectionchange
onselectstart
onselectstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12907
Inherited from
GlobalEventHandlers.onselectstart
onslotchange
onslotchange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12909
Inherited from
GlobalEventHandlers.onslotchange
onstalled
onstalled: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12911
Inherited from
GlobalEventHandlers.onstalled
onstorage
onstorage: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36866
Inherited from
WindowEventHandlers.onstorage
onsubmit
onsubmit: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12913
Inherited from
GlobalEventHandlers.onsubmit
onsuspend
onsuspend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12915
Inherited from
GlobalEventHandlers.onsuspend
ontimeupdate
ontimeupdate: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12917
Inherited from
GlobalEventHandlers.ontimeupdate
ontoggle
ontoggle: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12919
Inherited from
GlobalEventHandlers.ontoggle
ontouchcancel?
optionalontouchcancel: (this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12921
Inherited from
GlobalEventHandlers.ontouchcancel
ontouchend?
optionalontouchend: (this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12923
Inherited from
GlobalEventHandlers.ontouchend
ontouchmove?
optionalontouchmove: (this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12925
Inherited from
GlobalEventHandlers.ontouchmove
ontouchstart?
optionalontouchstart: (this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12927
Inherited from
GlobalEventHandlers.ontouchstart
ontransitioncancel
ontransitioncancel: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12929
Inherited from
GlobalEventHandlers.ontransitioncancel
ontransitionend
ontransitionend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12931
Inherited from
GlobalEventHandlers.ontransitionend
ontransitionrun
ontransitionrun: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12933
Inherited from
GlobalEventHandlers.ontransitionrun
ontransitionstart
ontransitionstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12935
Inherited from
GlobalEventHandlers.ontransitionstart
onunhandledrejection
onunhandledrejection: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36868
Inherited from
WindowEventHandlers.onunhandledrejection
onunload
onunload: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36874
Deprecated
Inherited from
WindowEventHandlers.onunload
onvolumechange
onvolumechange: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12937
Inherited from
GlobalEventHandlers.onvolumechange
onwaiting
onwaiting: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12939
Inherited from
GlobalEventHandlers.onwaiting
onwebkitanimationend
onwebkitanimationend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12945
Deprecated
This is a legacy alias of onanimationend.
Inherited from
GlobalEventHandlers.onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationiteration: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12951
Deprecated
This is a legacy alias of onanimationiteration.
Inherited from
GlobalEventHandlers.onwebkitanimationiteration
onwebkitanimationstart
onwebkitanimationstart: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12957
Deprecated
This is a legacy alias of onanimationstart.
Inherited from
GlobalEventHandlers.onwebkitanimationstart
onwebkittransitionend
onwebkittransitionend: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12963
Deprecated
This is a legacy alias of ontransitionend.
Inherited from
GlobalEventHandlers.onwebkittransitionend
onwheel
onwheel: (
this,ev) =>any|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:12965
Inherited from
GlobalEventHandlers.onwheel
opener
opener:
any
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36505
The Window interface's opener property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a target attribute.
orientation
readonlyorientation:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36512
Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.
Deprecated
origin
readonlyorigin:string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36902
Inherited from
WindowOrWorkerGlobalScope.origin
originAgentCluster
readonlyoriginAgentCluster:boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36518
The originAgentCluster read-only property of the Window interface returns true if this window belongs to an origin-keyed agent cluster: this means that the operating system has provided dedicated resources (for example an operating system process) to this window's origin that are not shared with windows from other origins.
outerHeight
readonlyouterHeight:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36524
The Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.
outerWidth
readonlyouterWidth:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36530
Window.outerWidth read-only property returns the width of the outside of the browser window.
pageXOffset
readonlypageXOffset:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36532
pageYOffset
readonlypageYOffset:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36534
parent
readonlyparent:Window
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36540
The Window.parent property is a reference to the parent of the current window or subframe.
performance
readonlyperformance:Performance
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36904
Inherited from
WindowOrWorkerGlobalScope.performance
personalbar
readonlypersonalbar:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36546
Returns the personalbar object.
screen
readonlyscreen:Screen
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36552
The Window property screen returns a reference to the screen object associated with the window.
screenLeft
readonlyscreenLeft:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36558
The Window.screenLeft read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen.
screenTop
readonlyscreenTop:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36564
The Window.screenTop read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.
screenX
readonlyscreenX:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36570
The Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen.
screenY
readonlyscreenY:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36576
The Window.screenY read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen.
scrollbars
readonlyscrollbars:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36594
Returns the scrollbars object.
scrollX
readonlyscrollX:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36582
The read-only scrollX property of the Window interface returns the number of pixels by which the document is currently scrolled horizontally.
scrollY
readonlyscrollY:number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36588
The read-only scrollY property of the Window interface returns the number of pixels by which the document is currently scrolled vertically.
self
readonlyself:Window& typeofglobalThis
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36600
The Window.self read-only property returns the window itself, as a WindowProxy.
sessionStorage
readonlysessionStorage:Storage
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36932
Inherited from
WindowSessionStorage.sessionStorage
speechSynthesis
readonlyspeechSynthesis:SpeechSynthesis
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36606
The speechSynthesis read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.
status
status:
string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36613
The status property of the bar at the bottom of the browser window.
Deprecated
statusbar
readonlystatusbar:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36619
Returns the statusbar object.
toolbar
readonlytoolbar:BarProp
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36625
Returns the toolbar object.
top
readonlytop:Window|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36631
Returns a reference to the topmost window in the window hierarchy.
visualViewport
readonlyvisualViewport:VisualViewport|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36637
The visualViewport read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or null if current document is not fully active.
window
readonlywindow:Window& typeofglobalThis
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36643
The window property of a Window object points to the window object itself.
Accessors
location
Get Signature
get location():
Location
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36450
The Window.location read-only property returns a Location object with information about the current location of the document.
Returns
Location
Set Signature
set location(
href):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36451
Parameters
href
string
Returns
void
Methods
addEventListener()
Call Signature
addEventListener<
K>(type,listener,options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36795
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Type Parameters
K
K extends keyof WindowEventMap
Parameters
type
K
listener
(this, ev) => any
options?
boolean | AddEventListenerOptions
Returns
void
Overrides
EventTarget.addEventListener
Call Signature
addEventListener(
type,listener,options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36796
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Parameters
type
string
listener
EventListenerOrEventListenerObject
options?
boolean | AddEventListenerOptions
Returns
void
Overrides
EventTarget.addEventListener
alert()
alert(
message?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36649
window.alert() instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.
Parameters
message?
any
Returns
void
atob()
atob(
data):string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36906
Parameters
data
string
Returns
string
Inherited from
WindowOrWorkerGlobalScope.atob
blur()
blur():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36656
The Window.blur() method does nothing.
Returns
void
Deprecated
btoa()
btoa(
data):string
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36908
Parameters
data
string
Returns
string
Inherited from
WindowOrWorkerGlobalScope.btoa
cancelAnimationFrame()
cancelAnimationFrame(
handle):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:3133
Parameters
handle
number
Returns
void
Inherited from
AnimationFrameProvider.cancelAnimationFrame
cancelIdleCallback()
cancelIdleCallback(
handle):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36662
The window.cancelIdleCallback() method cancels a callback previously scheduled with window.requestIdleCallback().
Parameters
handle
number
Returns
void
captureEvents()
captureEvents():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36669
The Window.captureEvents() method does nothing.
Returns
void
Deprecated
clearInterval()
clearInterval(
id):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36910
Parameters
id
number | undefined
Returns
void
Inherited from
WindowOrWorkerGlobalScope.clearInterval
clearTimeout()
clearTimeout(
id):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36912
Parameters
id
number | undefined
Returns
void
Inherited from
WindowOrWorkerGlobalScope.clearTimeout
close()
close():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36675
The Window.close() method closes the current window, or the window on which it was called.
Returns
void
confirm()
confirm(
message?):boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36681
window.confirm() instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.
Parameters
message?
string
Returns
boolean
createImageBitmap()
Call Signature
createImageBitmap(
image,options?):Promise<ImageBitmap>
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36914
Parameters
image
ImageBitmapSource
options?
ImageBitmapOptions
Returns
Promise<ImageBitmap>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
Call Signature
createImageBitmap(
image,sx,sy,sw,sh,options?):Promise<ImageBitmap>
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36915
Parameters
image
ImageBitmapSource
sx
number
sy
number
sw
number
sh
number
options?
ImageBitmapOptions
Returns
Promise<ImageBitmap>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
dispatchEvent()
dispatchEvent(
event):boolean
Defined in: node_modules/typescript/lib/lib.dom.d.ts:11575
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Parameters
event
Event
Returns
boolean
Inherited from
EventTarget.dispatchEvent
fetch()
fetch(
input,init?):Promise<Response>
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36917
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Inherited from
WindowOrWorkerGlobalScope.fetch
focus()
focus():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36687
Makes a request to bring the window to the front.
Returns
void
getComputedStyle()
getComputedStyle(
elt,pseudoElt?):CSSStyleDeclaration
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36693
The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
Parameters
elt
Element
pseudoElt?
string | null
Returns
CSSStyleDeclaration
getSelection()
getSelection():
Selection|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36699
The getSelection() method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.
Returns
Selection | null
matchMedia()
matchMedia(
query):MediaQueryList
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36705
The Window interface's matchMedia() method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.
Parameters
query
string
Returns
MediaQueryList
moveBy()
moveBy(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36711
The moveBy() method of the Window interface moves the current window by a specified amount.
Parameters
x
number
y
number
Returns
void
moveTo()
moveTo(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36717
The moveTo() method of the Window interface moves the current window to the specified coordinates.
Parameters
x
number
y
number
Returns
void
open()
open(
url?,target?,features?):Window|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36723
The open() method of the Window interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.
Parameters
url?
string | URL
target?
string
features?
string
Returns
Window | null
postMessage()
Call Signature
postMessage(
message,targetOrigin,transfer?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36729
The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.
Parameters
message
any
targetOrigin
string
transfer?
Transferable[]
Returns
void
Call Signature
postMessage(
message,options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36730
Parameters
message
any
options?
WindowPostMessageOptions
Returns
void
print()
print():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36736
Opens the print dialog to print the current document.
Returns
void
prompt()
prompt(
message?,_default?):string|null
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36742
window.prompt() instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.
Parameters
message?
string
_default?
string
Returns
string | null
queueMicrotask()
queueMicrotask(
callback):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36919
Parameters
callback
VoidFunction
Returns
void
Inherited from
WindowOrWorkerGlobalScope.queueMicrotask
releaseEvents()
releaseEvents():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36749
Releases the window from trapping events of a specific type.
Returns
void
Deprecated
removeEventListener()
Call Signature
removeEventListener<
K>(type,listener,options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36797
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Type Parameters
K
K extends keyof WindowEventMap
Parameters
type
K
listener
(this, ev) => any
options?
boolean | EventListenerOptions
Returns
void
Overrides
EventTarget.removeEventListener
Call Signature
removeEventListener(
type,listener,options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36798
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Parameters
type
string
listener
EventListenerOrEventListenerObject
options?
boolean | EventListenerOptions
Returns
void
Overrides
EventTarget.removeEventListener
reportError()
reportError(
e):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36921
Parameters
e
any
Returns
void
Inherited from
WindowOrWorkerGlobalScope.reportError
requestAnimationFrame()
requestAnimationFrame(
callback):number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:3135
Parameters
callback
FrameRequestCallback
Returns
number
Inherited from
AnimationFrameProvider.requestAnimationFrame
requestIdleCallback()
requestIdleCallback(
callback,options?):number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36755
The window.requestIdleCallback() method queues a function to be called during a browser's idle periods.
Parameters
callback
IdleRequestCallback
options?
IdleRequestOptions
Returns
number
resizeBy()
resizeBy(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36761
The Window.resizeBy() method resizes the current window by a specified amount.
Parameters
x
number
y
number
Returns
void
resizeTo()
resizeTo(
width,height):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36767
The Window.resizeTo() method dynamically resizes the window.
Parameters
width
number
height
number
Returns
void
scroll()
Call Signature
scroll(
options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36773
The Window.scroll() method scrolls the window to a particular place in the document.
Parameters
options?
ScrollToOptions
Returns
void
Call Signature
scroll(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36774
Parameters
x
number
y
number
Returns
void
scrollBy()
Call Signature
scrollBy(
options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36780
The Window.scrollBy() method scrolls the document in the window by the given amount.
Parameters
options?
ScrollToOptions
Returns
void
Call Signature
scrollBy(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36781
Parameters
x
number
y
number
Returns
void
scrollTo()
Call Signature
scrollTo(
options?):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36787
Window.scrollTo() scrolls to a particular set of coordinates in the document.
Parameters
options?
ScrollToOptions
Returns
void
Call Signature
scrollTo(
x,y):void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36788
Parameters
x
number
y
number
Returns
void
setInterval()
setInterval(
handler,timeout?, ...arguments?):number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36923
Parameters
handler
TimerHandler
timeout?
number
arguments?
...any[]
Returns
number
Inherited from
WindowOrWorkerGlobalScope.setInterval
setTimeout()
setTimeout(
handler,timeout?, ...arguments?):number
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36925
Parameters
handler
TimerHandler
timeout?
number
arguments?
...any[]
Returns
number
Inherited from
WindowOrWorkerGlobalScope.setTimeout
stop()
stop():
void
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36794
The window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
Returns
void
structuredClone()
structuredClone<
T>(value,options?):T
Defined in: node_modules/typescript/lib/lib.dom.d.ts:36927
Type Parameters
T
T = any
Parameters
value
T
options?
StructuredSerializeOptions
Returns
T
Inherited from
WindowOrWorkerGlobalScope.structuredClone