Skip to main content

main

Interfaces

Window

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26913

A window containing a DOM document; the document property points to the DOM document loaded in that window.

MDN Reference

Extends

  • EventTarget.AnimationFrameProvider.GlobalEventHandlers.WindowEventHandlers.WindowLocalStorage.WindowOrWorkerGlobalScope.WindowSessionStorage

Indexable

[index: number]: Window

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
__DESKULPT_CANVAS_INTERNALS__readonlyobject--src/canvas/main.tsx:9
__DESKULPT_CANVAS_INTERNALS__.apisWrapperreadonlystring--src/canvas/main.tsx:10
__DESKULPT_CANVAS_INTERNALS__.initialSettingsreadonlyDeepReadonly<Settings>--src/canvas/main.tsx:11
__DESKULPT_MANAGER_INTERNALS__readonlyobject--src/manager/main.tsx:10
__DESKULPT_MANAGER_INTERNALS__.initialSettingsreadonlyDeepReadonly<Settings>--src/manager/main.tsx:11
cachesreadonlyCacheStorageAvailable only in secure contexts. MDN ReferenceWindowOrWorkerGlobalScope.cachesnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27266
clientInformationreadonlyNavigatorDeprecated This is a legacy alias of navigator. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26919
closedreadonlybooleanReturns true if the window has been closed, false otherwise. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26925
crossOriginIsolatedreadonlybooleanMDN ReferenceWindowOrWorkerGlobalScope.crossOriginIsolatednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27268
cryptoreadonlyCryptoMDN ReferenceWindowOrWorkerGlobalScope.cryptonode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27270
customElementsreadonlyCustomElementRegistryDefines a new custom element, mapping the given name to the given constructor as an autonomous custom element. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26931
devicePixelRatioreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26933
documentreadonlyDocumentMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26935
eventreadonlyundefined | EventDeprecated MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26941
externalreadonlyExternalDeprecated MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26947
frameElementreadonlynull | ElementMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26949
framesreadonlyWindowMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26951
historyreadonlyHistoryMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26953
indexedDBreadonlyIDBFactoryMDN ReferenceWindowOrWorkerGlobalScope.indexedDBnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27272
innerHeightreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26955
innerWidthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26957
isSecureContextreadonlybooleanMDN ReferenceWindowOrWorkerGlobalScope.isSecureContextnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27274
lengthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26959
localStoragereadonlyStorageMDN ReferenceWindowLocalStorage.localStoragenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27257
locationbarreadonlyBarPropReturns true if the location bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26968
menubarreadonlyBarPropReturns true if the menu bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26974
namepublicstringMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26976
navigatorreadonlyNavigatorMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26978
onabortpublicnull | (this, ev) => anyFires when the user aborts the download. Param The event. MDN ReferenceGlobalEventHandlers.onabortnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9625
onafterprintpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onafterprintnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27206
onanimationcancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationcancelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9627
onanimationendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9629
onanimationiterationpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationiterationnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9631
onanimationstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9633
onauxclickpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onauxclicknode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9635
onbeforeinputpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onbeforeinputnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9637
onbeforeprintpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onbeforeprintnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27208
onbeforetogglepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onbeforetogglenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9639
onbeforeunloadpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onbeforeunloadnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27210
onblurpublicnull | (this, ev) => anyFires when the object loses the input focus. Param The focus event. MDN ReferenceGlobalEventHandlers.onblurnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9646
oncancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncancelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9648
oncanplaypublicnull | (this, ev) => anyOccurs when playback is possible, but would require further buffering. Param The event. MDN ReferenceGlobalEventHandlers.oncanplaynode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9655
oncanplaythroughpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncanplaythroughnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9657
onchangepublicnull | (this, ev) => anyFires when the contents of the object or selection have changed. Param The event. MDN ReferenceGlobalEventHandlers.onchangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9664
onclickpublicnull | (this, ev) => anyFires when the user clicks the left mouse button on the object Param The mouse event. MDN ReferenceGlobalEventHandlers.onclicknode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9671
onclosepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onclosenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9673
oncontextlostpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncontextlostnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9675
oncontextmenupublicnull | (this, ev) => anyFires when the user clicks the right mouse button in the client area, opening the context menu. Param The mouse event. MDN ReferenceGlobalEventHandlers.oncontextmenunode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9682
oncontextrestoredpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncontextrestorednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9684
oncopypublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncopynode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9686
oncuechangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncuechangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9688
oncutpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncutnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9690
ondblclickpublicnull | (this, ev) => anyFires when the user double-clicks the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.ondblclicknode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9697
ondevicemotionpublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26984
ondeviceorientationpublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26990
ondeviceorientationabsolutepublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26996
ondragpublicnull | (this, ev) => anyFires on the source object continuously during a drag operation. Param The event. MDN ReferenceGlobalEventHandlers.ondragnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9704
ondragendpublicnull | (this, ev) => anyFires on the source object when the user releases the mouse at the close of a drag operation. Param The event. MDN ReferenceGlobalEventHandlers.ondragendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9711
ondragenterpublicnull | (this, ev) => anyFires on the target element when the user drags the object to a valid drop target. Param The drag event. MDN ReferenceGlobalEventHandlers.ondragenternode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9718
ondragleavepublicnull | (this, ev) => anyFires on the target object when the user moves the mouse out of a valid drop target during a drag operation. Param The drag event. MDN ReferenceGlobalEventHandlers.ondragleavenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9725
ondragoverpublicnull | (this, ev) => anyFires on the target element continuously while the user drags the object over a valid drop target. Param The event. MDN ReferenceGlobalEventHandlers.ondragovernode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9732
ondragstartpublicnull | (this, ev) => anyFires on the source object when the user starts to drag a text selection or selected object. Param The event. MDN ReferenceGlobalEventHandlers.ondragstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9739
ondroppublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ondropnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9741
ondurationchangepublicnull | (this, ev) => anyOccurs when the duration attribute is updated. Param The event. MDN ReferenceGlobalEventHandlers.ondurationchangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9748
onemptiedpublicnull | (this, ev) => anyOccurs when the media element is reset to its initial state. Param The event. MDN ReferenceGlobalEventHandlers.onemptiednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9755
onendedpublicnull | (this, ev) => anyOccurs when the end of playback is reached. Param The event MDN ReferenceGlobalEventHandlers.onendednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9762
onerrorpublicOnErrorEventHandlerFires when an error occurs during object loading. Param The event. MDN ReferenceGlobalEventHandlers.onerrornode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9769
onfocuspublicnull | (this, ev) => anyFires when the object receives focus. Param The event. MDN ReferenceGlobalEventHandlers.onfocusnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9776
onformdatapublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onformdatanode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9778
ongamepadconnectedpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ongamepadconnectednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27212
ongamepaddisconnectedpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ongamepaddisconnectednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27214
ongotpointercapturepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ongotpointercapturenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9780
onhashchangepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onhashchangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27216
oninputpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oninputnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9782
oninvalidpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oninvalidnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9784
onkeydownpublicnull | (this, ev) => anyFires when the user presses a key. Param The keyboard event MDN ReferenceGlobalEventHandlers.onkeydownnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9791
onkeypresspublicnull | (this, ev) => anyFires when the user presses an alphanumeric key. Param The event. Deprecated MDN ReferenceGlobalEventHandlers.onkeypressnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9799
onkeyuppublicnull | (this, ev) => anyFires when the user releases a key. Param The keyboard event MDN ReferenceGlobalEventHandlers.onkeyupnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9806
onlanguagechangepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onlanguagechangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27218
onloadpublicnull | (this, ev) => anyFires immediately after the browser loads the object. Param The event. MDN ReferenceGlobalEventHandlers.onloadnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9813
onloadeddatapublicnull | (this, ev) => anyOccurs when media data is loaded at the current playback position. Param The event. MDN ReferenceGlobalEventHandlers.onloadeddatanode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9820
onloadedmetadatapublicnull | (this, ev) => anyOccurs when the duration and dimensions of the media have been determined. Param The event. MDN ReferenceGlobalEventHandlers.onloadedmetadatanode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9827
onloadstartpublicnull | (this, ev) => anyOccurs when Internet Explorer begins looking for media data. Param The event. MDN ReferenceGlobalEventHandlers.onloadstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9834
onlostpointercapturepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onlostpointercapturenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9836
onmessagepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onmessagenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27220
onmessageerrorpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onmessageerrornode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27222
onmousedownpublicnull | (this, ev) => anyFires when the user clicks the object with either mouse button. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmousedownnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9843
onmouseenterpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onmouseenternode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9845
onmouseleavepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onmouseleavenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9847
onmousemovepublicnull | (this, ev) => anyFires when the user moves the mouse over the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmousemovenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9854
onmouseoutpublicnull | (this, ev) => anyFires when the user moves the mouse pointer outside the boundaries of the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmouseoutnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9861
onmouseoverpublicnull | (this, ev) => anyFires when the user moves the mouse pointer into the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmouseovernode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9868
onmouseuppublicnull | (this, ev) => anyFires when the user releases a mouse button while the mouse is over the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmouseupnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9875
onofflinepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onofflinenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27224
ononlinepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ononlinenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27226
onorientationchangepublicnull | (this, ev) => anyDeprecated MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27002
onpagehidepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpagehidenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27228
onpagerevealpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpagerevealnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27230
onpageshowpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpageshownode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27232
onpageswappublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpageswapnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27234
onpastepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpastenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9877
onpausepublicnull | (this, ev) => anyOccurs when playback is paused. Param The event. MDN ReferenceGlobalEventHandlers.onpausenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9884
onplaypublicnull | (this, ev) => anyOccurs when the play method is requested. Param The event. MDN ReferenceGlobalEventHandlers.onplaynode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9891
onplayingpublicnull | (this, ev) => anyOccurs when the audio or video has started playing. Param The event. MDN ReferenceGlobalEventHandlers.onplayingnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9898
onpointercancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointercancelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9900
onpointerdownpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerdownnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9902
onpointerenterpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerenternode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9904
onpointerleavepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerleavenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9906
onpointermovepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointermovenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9908
onpointeroutpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointeroutnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9910
onpointeroverpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerovernode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9912
onpointeruppublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerupnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9914
onpopstatepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpopstatenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27236
onprogresspublicnull | (this, ev) => anyOccurs to indicate progress while downloading media data. Param The event. MDN ReferenceGlobalEventHandlers.onprogressnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9921
onratechangepublicnull | (this, ev) => anyOccurs when the playback rate is increased or decreased. Param The event. MDN ReferenceGlobalEventHandlers.onratechangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9928
onrejectionhandledpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onrejectionhandlednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27238
onresetpublicnull | (this, ev) => anyFires when the user resets a form. Param The event. MDN ReferenceGlobalEventHandlers.onresetnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9935
onresizepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onresizenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9937
onscrollpublicnull | (this, ev) => anyFires when the user repositions the scroll box in the scroll bar on the object. Param The event. MDN ReferenceGlobalEventHandlers.onscrollnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9944
onscrollendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onscrollendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9946
onsecuritypolicyviolationpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onsecuritypolicyviolationnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9948
onseekedpublicnull | (this, ev) => anyOccurs when the seek operation ends. Param The event. MDN ReferenceGlobalEventHandlers.onseekednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9955
onseekingpublicnull | (this, ev) => anyOccurs when the current playback position is moved. Param The event. MDN ReferenceGlobalEventHandlers.onseekingnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9962
onselectpublicnull | (this, ev) => anyFires when the current selection changes. Param The event. MDN ReferenceGlobalEventHandlers.onselectnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9969
onselectionchangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onselectionchangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9971
onselectstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onselectstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9973
onslotchangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onslotchangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9975
onstalledpublicnull | (this, ev) => anyOccurs when the download has stopped. Param The event. MDN ReferenceGlobalEventHandlers.onstallednode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9982
onstoragepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onstoragenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27240
onsubmitpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onsubmitnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9984
onsuspendpublicnull | (this, ev) => anyOccurs if the load operation has been intentionally halted. Param The event. MDN ReferenceGlobalEventHandlers.onsuspendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9991
ontimeupdatepublicnull | (this, ev) => anyOccurs to indicate the current playback position. Param The event. MDN ReferenceGlobalEventHandlers.ontimeupdatenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:9998
ontogglepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontogglenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10000
ontouchcancel?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchcancelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10002
ontouchend?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10004
ontouchmove?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchmovenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10006
ontouchstart?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10008
ontransitioncancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitioncancelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10010
ontransitionendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10012
ontransitionrunpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionrunnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10014
ontransitionstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10016
onunhandledrejectionpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onunhandledrejectionnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27242
onunloadpublicnull | (this, ev) => anyDeprecated MDN ReferenceWindowEventHandlers.onunloadnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27248
onvolumechangepublicnull | (this, ev) => anyOccurs when the volume is changed, or playback is muted or unmuted. Param The event. MDN ReferenceGlobalEventHandlers.onvolumechangenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10023
onwaitingpublicnull | (this, ev) => anyOccurs when playback stops because the next frame of a video resource is not available. Param The event. MDN ReferenceGlobalEventHandlers.onwaitingnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10030
onwebkitanimationendpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationend. MDN ReferenceGlobalEventHandlers.onwebkitanimationendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10036
onwebkitanimationiterationpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationiteration. MDN ReferenceGlobalEventHandlers.onwebkitanimationiterationnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10042
onwebkitanimationstartpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationstart. MDN ReferenceGlobalEventHandlers.onwebkitanimationstartnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10048
onwebkittransitionendpublicnull | (this, ev) => anyDeprecated This is a legacy alias of ontransitionend. MDN ReferenceGlobalEventHandlers.onwebkittransitionendnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10054
onwheelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onwheelnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:10056
openerpublicanyMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27004
orientationreadonlynumberDeprecated MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27010
originreadonlystringMDN ReferenceWindowOrWorkerGlobalScope.originnode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27276
outerHeightreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27012
outerWidthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27014
pageXOffsetreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27016
pageYOffsetreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27018
parentreadonlyWindowRefers to either the parent WindowProxy, or itself. It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27026
performancereadonlyPerformanceMDN ReferenceWindowOrWorkerGlobalScope.performancenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27278
personalbarreadonlyBarPropReturns true if the personal bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27032
screenreadonlyScreenMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27034
screenLeftreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27036
screenTopreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27038
screenXreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27040
screenYreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27042
scrollbarsreadonlyBarPropReturns true if the scrollbars are visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27052
scrollXreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27044
scrollYreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27046
selfreadonlyWindow & typeof globalThisMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27054
sessionStoragereadonlyStorageMDN ReferenceWindowSessionStorage.sessionStoragenode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27306
speechSynthesisreadonlySpeechSynthesisMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27056
statuspublicstringDeprecated MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27062
statusbarreadonlyBarPropReturns true if the status bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27068
toolbarreadonlyBarPropReturns true if the toolbar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27074
topreadonlynull | WindowMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27076
visualViewportreadonlynull | VisualViewportMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27078
windowreadonlyWindow & typeof globalThisMDN Reference-node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27080

Accessors

location
Get Signature

get location(): Location

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26961

MDN Reference

Returns

Location

Set Signature

set location(href): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26962

Parameters
ParameterType
hrefstring
Returns

void

Methods

addEventListener()
Call Signature

addEventListener<K>(type, listener, options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27169

Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

MDN Reference

Type Parameters
Type Parameter
K extends keyof WindowEventMap
Parameters
ParameterType
typeK
listener(this, ev) => any
options?boolean | AddEventListenerOptions
Returns

void

Overrides

EventTarget.addEventListener

Call Signature

addEventListener(type, listener, options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27170

Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.

The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.

When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.

When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.

When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.

If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.

The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.

MDN Reference

Parameters
ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions
Returns

void

Overrides

EventTarget.addEventListener

alert()

alert(message?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27082

MDN Reference

Parameters
ParameterType
message?any
Returns

void

atob()

atob(data): string

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27280

MDN Reference

Parameters
ParameterType
datastring
Returns

string

Inherited from

WindowOrWorkerGlobalScope.atob

blur()

blur(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27088

Returns

void

Deprecated

MDN Reference

btoa()

btoa(data): string

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27282

MDN Reference

Parameters
ParameterType
datastring
Returns

string

Inherited from

WindowOrWorkerGlobalScope.btoa

cancelAnimationFrame()

cancelAnimationFrame(handle): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:2806

MDN Reference

Parameters
ParameterType
handlenumber
Returns

void

Inherited from

AnimationFrameProvider.cancelAnimationFrame

cancelIdleCallback()

cancelIdleCallback(handle): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27090

MDN Reference

Parameters
ParameterType
handlenumber
Returns

void

captureEvents()

captureEvents(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27096

Returns

void

Deprecated

MDN Reference

clearInterval()

clearInterval(id): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27284

MDN Reference

Parameters
ParameterType
idundefined | number
Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearInterval

clearTimeout()

clearTimeout(id): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27286

MDN Reference

Parameters
ParameterType
idundefined | number
Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearTimeout

close()

close(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27102

Closes the window.

MDN Reference

Returns

void

confirm()

confirm(message?): boolean

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27104

MDN Reference

Parameters
ParameterType
message?string
Returns

boolean

createImageBitmap()
Call Signature

createImageBitmap(image, options?): Promise<ImageBitmap>

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27288

MDN Reference

Parameters
ParameterType
imageImageBitmapSource
options?ImageBitmapOptions
Returns

Promise<ImageBitmap>

Inherited from

WindowOrWorkerGlobalScope.createImageBitmap

Call Signature

createImageBitmap(image, sx, sy, sw, sh, options?): Promise<ImageBitmap>

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27289

Parameters
ParameterType
imageImageBitmapSource
sxnumber
synumber
swnumber
shnumber
options?ImageBitmapOptions
Returns

Promise<ImageBitmap>

Inherited from

WindowOrWorkerGlobalScope.createImageBitmap

dispatchEvent()

dispatchEvent(event): boolean

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:8882

Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

MDN Reference

Parameters
ParameterType
eventEvent
Returns

boolean

Inherited from

EventTarget.dispatchEvent

fetch()

fetch(input, init?): Promise<Response>

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27291

MDN Reference

Parameters
ParameterType
inputURL | RequestInfo
init?RequestInit
Returns

Promise<Response>

Inherited from

WindowOrWorkerGlobalScope.fetch

focus()

focus(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27110

Moves the focus to the window's browsing context, if any.

MDN Reference

Returns

void

getComputedStyle()

getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27112

MDN Reference

Parameters
ParameterType
eltElement
pseudoElt?null | string
Returns

CSSStyleDeclaration

getSelection()

getSelection(): null | Selection

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27114

MDN Reference

Returns

null | Selection

matchMedia()

matchMedia(query): MediaQueryList

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27116

MDN Reference

Parameters
ParameterType
querystring
Returns

MediaQueryList

moveBy()

moveBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27118

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

moveTo()

moveTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27120

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

open()

open(url?, target?, features?): null | Window

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27122

MDN Reference

Parameters
ParameterType
url?string | URL
target?string
features?string
Returns

null | Window

postMessage()
Call Signature

postMessage(message, targetOrigin, transfer?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27136

Posts a message to the given window. Messages can be structured objects, e.g. nested objects and arrays, can contain JavaScript values (strings, numbers, Date objects, etc), and can contain certain data objects such as File Blob, FileList, and ArrayBuffer objects.

Objects listed in the transfer member of options are transferred, not just cloned, meaning that they are no longer usable on the sending side.

A target origin can be specified using the targetOrigin member of options. If not provided, it defaults to "/". This default restricts the message to same-origin targets only.

If the origin of the target window doesn't match the given target origin, the message is discarded, to avoid information leakage. To send the message to the target regardless of origin, set the target origin to "*".

Throws a "DataCloneError" DOMException if transfer array contains duplicate objects or if message could not be cloned.

MDN Reference

Parameters
ParameterType
messageany
targetOriginstring
transfer?Transferable[]
Returns

void

Call Signature

postMessage(message, options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27137

Parameters
ParameterType
messageany
options?WindowPostMessageOptions
Returns

void

print()

print(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27139

MDN Reference

Returns

void

prompt()

prompt(message?, _default?): null | string

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27141

MDN Reference

Parameters
ParameterType
message?string
_default?string
Returns

null | string

queueMicrotask()

queueMicrotask(callback): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27293

MDN Reference

Parameters
ParameterType
callbackVoidFunction
Returns

void

Inherited from

WindowOrWorkerGlobalScope.queueMicrotask

releaseEvents()

releaseEvents(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27147

Returns

void

Deprecated

MDN Reference

removeEventListener()
Call Signature

removeEventListener<K>(type, listener, options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27171

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Type Parameters
Type Parameter
K extends keyof WindowEventMap
Parameters
ParameterType
typeK
listener(this, ev) => any
options?boolean | EventListenerOptions
Returns

void

Overrides

EventTarget.removeEventListener

Call Signature

removeEventListener(type, listener, options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27172

Removes the event listener in target's event listener list with the same type, callback, and options.

MDN Reference

Parameters
ParameterType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions
Returns

void

Overrides

EventTarget.removeEventListener

reportError()

reportError(e): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27295

MDN Reference

Parameters
ParameterType
eany
Returns

void

Inherited from

WindowOrWorkerGlobalScope.reportError

requestAnimationFrame()

requestAnimationFrame(callback): number

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:2808

MDN Reference

Parameters
ParameterType
callbackFrameRequestCallback
Returns

number

Inherited from

AnimationFrameProvider.requestAnimationFrame

requestIdleCallback()

requestIdleCallback(callback, options?): number

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27149

MDN Reference

Parameters
ParameterType
callbackIdleRequestCallback
options?IdleRequestOptions
Returns

number

resizeBy()

resizeBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27151

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

resizeTo()

resizeTo(width, height): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27153

MDN Reference

Parameters
ParameterType
widthnumber
heightnumber
Returns

void

scroll()
Call Signature

scroll(options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27155

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scroll(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27156

Parameters
ParameterType
xnumber
ynumber
Returns

void

scrollBy()
Call Signature

scrollBy(options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27158

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scrollBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27159

Parameters
ParameterType
xnumber
ynumber
Returns

void

scrollTo()
Call Signature

scrollTo(options?): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27161

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scrollTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27162

Parameters
ParameterType
xnumber
ynumber
Returns

void

setInterval()

setInterval(handler, timeout?, ...arguments?): number

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27297

MDN Reference

Parameters
ParameterType
handlerTimerHandler
timeout?number
...arguments?any[]
Returns

number

Inherited from

WindowOrWorkerGlobalScope.setInterval

setTimeout()

setTimeout(handler, timeout?, ...arguments?): number

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27299

MDN Reference

Parameters
ParameterType
handlerTimerHandler
timeout?number
...arguments?any[]
Returns

number

Inherited from

WindowOrWorkerGlobalScope.setTimeout

stop()

stop(): void

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27168

Cancels the document load.

MDN Reference

Returns

void

structuredClone()

structuredClone<T>(value, options?): T

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27301

MDN Reference

Type Parameters
Type ParameterDefault type
Tany
Parameters
ParameterType
valueT
options?StructuredSerializeOptions
Returns

T

Inherited from

WindowOrWorkerGlobalScope.structuredClone

Variables

Window()

Window: () => Window

Defined in: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:26913

Type declaration

Returns

Window

NameTypeDefined in
prototypeWindownode_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.dom.d.ts:27177