Skip to main content

main

Interfaces

Window

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26280

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26635
clientInformationreadonlyNavigatorDeprecated This is a legacy alias of navigator. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26286
closedreadonlybooleanReturns true if the window has been closed, false otherwise. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26292
crossOriginIsolatedreadonlybooleanMDN ReferenceWindowOrWorkerGlobalScope.crossOriginIsolatednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26637
cryptoreadonlyCryptoMDN ReferenceWindowOrWorkerGlobalScope.cryptonode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26639
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26298
devicePixelRatioreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26300
documentreadonlyDocumentMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26302
eventreadonlyundefined | EventDeprecated MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26308
externalreadonlyExternalDeprecated MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26314
frameElementreadonlynull | ElementMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26316
framesreadonlyWindowMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26318
historyreadonlyHistoryMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26320
indexedDBreadonlyIDBFactoryMDN ReferenceWindowOrWorkerGlobalScope.indexedDBnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26641
innerHeightreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26322
innerWidthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26324
isSecureContextreadonlybooleanMDN ReferenceWindowOrWorkerGlobalScope.isSecureContextnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26643
lengthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26326
localStoragereadonlyStorageMDN ReferenceWindowLocalStorage.localStoragenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26626
locationbarreadonlyBarPropReturns true if the location bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26335
menubarreadonlyBarPropReturns true if the menu bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26341
namepublicstringMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26343
navigatorreadonlyNavigatorMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26345
onabortpublicnull | (this, ev) => anyFires when the user aborts the download. Param The event. MDN ReferenceGlobalEventHandlers.onabortnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9452
onafterprintpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onafterprintnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26579
onanimationcancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationcancelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9454
onanimationendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9456
onanimationiterationpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationiterationnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9458
onanimationstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onanimationstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9460
onauxclickpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onauxclicknode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9462
onbeforeinputpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onbeforeinputnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9464
onbeforeprintpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onbeforeprintnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26581
onbeforetogglepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onbeforetogglenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9466
onbeforeunloadpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onbeforeunloadnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26583
onblurpublicnull | (this, ev) => anyFires when the object loses the input focus. Param The focus event. MDN ReferenceGlobalEventHandlers.onblurnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9473
oncancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncancelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9475
oncanplaypublicnull | (this, ev) => anyOccurs when playback is possible, but would require further buffering. Param The event. MDN ReferenceGlobalEventHandlers.oncanplaynode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9482
oncanplaythroughpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncanplaythroughnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9484
onchangepublicnull | (this, ev) => anyFires when the contents of the object or selection have changed. Param The event. MDN ReferenceGlobalEventHandlers.onchangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9491
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9498
onclosepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onclosenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9500
oncontextlostpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncontextlostnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9502
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9509
oncontextrestoredpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncontextrestorednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9511
oncopypublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncopynode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9513
oncuechangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncuechangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9515
oncutpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oncutnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9517
ondblclickpublicnull | (this, ev) => anyFires when the user double-clicks the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.ondblclicknode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9524
ondevicemotionpublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26351
ondeviceorientationpublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26357
ondeviceorientationabsolutepublicnull | (this, ev) => anyAvailable only in secure contexts. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26363
ondragpublicnull | (this, ev) => anyFires on the source object continuously during a drag operation. Param The event. MDN ReferenceGlobalEventHandlers.ondragnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9531
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9538
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9545
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9552
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9559
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9566
ondroppublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ondropnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9568
ondurationchangepublicnull | (this, ev) => anyOccurs when the duration attribute is updated. Param The event. MDN ReferenceGlobalEventHandlers.ondurationchangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9575
onemptiedpublicnull | (this, ev) => anyOccurs when the media element is reset to its initial state. Param The event. MDN ReferenceGlobalEventHandlers.onemptiednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9582
onendedpublicnull | (this, ev) => anyOccurs when the end of playback is reached. Param The event MDN ReferenceGlobalEventHandlers.onendednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9589
onerrorpublicOnErrorEventHandlerFires when an error occurs during object loading. Param The event. MDN ReferenceGlobalEventHandlers.onerrornode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9596
onfocuspublicnull | (this, ev) => anyFires when the object receives focus. Param The event. MDN ReferenceGlobalEventHandlers.onfocusnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9603
onformdatapublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onformdatanode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9605
ongamepadconnectedpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ongamepadconnectednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26585
ongamepaddisconnectedpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ongamepaddisconnectednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26587
ongotpointercapturepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ongotpointercapturenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9607
onhashchangepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onhashchangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26589
oninputpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oninputnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9609
oninvalidpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.oninvalidnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9611
onkeydownpublicnull | (this, ev) => anyFires when the user presses a key. Param The keyboard event MDN ReferenceGlobalEventHandlers.onkeydownnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9618
onkeypresspublicnull | (this, ev) => anyFires when the user presses an alphanumeric key. Param The event. Deprecated MDN ReferenceGlobalEventHandlers.onkeypressnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9626
onkeyuppublicnull | (this, ev) => anyFires when the user releases a key. Param The keyboard event MDN ReferenceGlobalEventHandlers.onkeyupnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9633
onlanguagechangepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onlanguagechangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26591
onloadpublicnull | (this, ev) => anyFires immediately after the browser loads the object. Param The event. MDN ReferenceGlobalEventHandlers.onloadnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9640
onloadeddatapublicnull | (this, ev) => anyOccurs when media data is loaded at the current playback position. Param The event. MDN ReferenceGlobalEventHandlers.onloadeddatanode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9647
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9654
onloadstartpublicnull | (this, ev) => anyOccurs when Internet Explorer begins looking for media data. Param The event. MDN ReferenceGlobalEventHandlers.onloadstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9661
onlostpointercapturepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onlostpointercapturenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9663
onmessagepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onmessagenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26593
onmessageerrorpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onmessageerrornode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26595
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9670
onmouseenterpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onmouseenternode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9672
onmouseleavepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onmouseleavenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9674
onmousemovepublicnull | (this, ev) => anyFires when the user moves the mouse over the object. Param The mouse event. MDN ReferenceGlobalEventHandlers.onmousemovenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9681
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9688
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9695
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9702
onofflinepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onofflinenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26597
ononlinepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.ononlinenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26599
onorientationchangepublicnull | (this, ev) => anyDeprecated MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26369
onpagehidepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpagehidenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26601
onpageshowpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpageshownode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26603
onpastepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpastenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9704
onpausepublicnull | (this, ev) => anyOccurs when playback is paused. Param The event. MDN ReferenceGlobalEventHandlers.onpausenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9711
onplaypublicnull | (this, ev) => anyOccurs when the play method is requested. Param The event. MDN ReferenceGlobalEventHandlers.onplaynode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9718
onplayingpublicnull | (this, ev) => anyOccurs when the audio or video has started playing. Param The event. MDN ReferenceGlobalEventHandlers.onplayingnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9725
onpointercancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointercancelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9727
onpointerdownpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerdownnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9729
onpointerenterpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerenternode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9731
onpointerleavepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerleavenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9733
onpointermovepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointermovenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9735
onpointeroutpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointeroutnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9737
onpointeroverpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerovernode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9739
onpointeruppublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onpointerupnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9741
onpopstatepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onpopstatenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26605
onprogresspublicnull | (this, ev) => anyOccurs to indicate progress while downloading media data. Param The event. MDN ReferenceGlobalEventHandlers.onprogressnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9748
onratechangepublicnull | (this, ev) => anyOccurs when the playback rate is increased or decreased. Param The event. MDN ReferenceGlobalEventHandlers.onratechangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9755
onrejectionhandledpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onrejectionhandlednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26607
onresetpublicnull | (this, ev) => anyFires when the user resets a form. Param The event. MDN ReferenceGlobalEventHandlers.onresetnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9762
onresizepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onresizenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9764
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9771
onscrollendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onscrollendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9773
onsecuritypolicyviolationpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onsecuritypolicyviolationnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9775
onseekedpublicnull | (this, ev) => anyOccurs when the seek operation ends. Param The event. MDN ReferenceGlobalEventHandlers.onseekednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9782
onseekingpublicnull | (this, ev) => anyOccurs when the current playback position is moved. Param The event. MDN ReferenceGlobalEventHandlers.onseekingnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9789
onselectpublicnull | (this, ev) => anyFires when the current selection changes. Param The event. MDN ReferenceGlobalEventHandlers.onselectnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9796
onselectionchangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onselectionchangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9798
onselectstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onselectstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9800
onslotchangepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onslotchangenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9802
onstalledpublicnull | (this, ev) => anyOccurs when the download has stopped. Param The event. MDN ReferenceGlobalEventHandlers.onstallednode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9809
onstoragepublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onstoragenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26609
onsubmitpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onsubmitnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9811
onsuspendpublicnull | (this, ev) => anyOccurs if the load operation has been intentionally halted. Param The event. MDN ReferenceGlobalEventHandlers.onsuspendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9818
ontimeupdatepublicnull | (this, ev) => anyOccurs to indicate the current playback position. Param The event. MDN ReferenceGlobalEventHandlers.ontimeupdatenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9825
ontogglepublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontogglenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9827
ontouchcancel?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchcancelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9829
ontouchend?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9831
ontouchmove?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchmovenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9833
ontouchstart?publicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontouchstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9835
ontransitioncancelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitioncancelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9837
ontransitionendpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9839
ontransitionrunpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionrunnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9841
ontransitionstartpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.ontransitionstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9843
onunhandledrejectionpublicnull | (this, ev) => anyMDN ReferenceWindowEventHandlers.onunhandledrejectionnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26611
onunloadpublicnull | (this, ev) => anyDeprecated MDN ReferenceWindowEventHandlers.onunloadnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26617
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9850
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:9857
onwebkitanimationendpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationend. MDN ReferenceGlobalEventHandlers.onwebkitanimationendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9863
onwebkitanimationiterationpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationiteration. MDN ReferenceGlobalEventHandlers.onwebkitanimationiterationnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9869
onwebkitanimationstartpublicnull | (this, ev) => anyDeprecated This is a legacy alias of onanimationstart. MDN ReferenceGlobalEventHandlers.onwebkitanimationstartnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9875
onwebkittransitionendpublicnull | (this, ev) => anyDeprecated This is a legacy alias of ontransitionend. MDN ReferenceGlobalEventHandlers.onwebkittransitionendnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9881
onwheelpublicnull | (this, ev) => anyMDN ReferenceGlobalEventHandlers.onwheelnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9883
openerpublicanyMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26371
orientationreadonlynumberDeprecated MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26377
originreadonlystringMDN ReferenceWindowOrWorkerGlobalScope.originnode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26645
outerHeightreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26379
outerWidthreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26381
pageXOffsetreadonlynumberDeprecated This is a legacy alias of scrollX. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26387
pageYOffsetreadonlynumberDeprecated This is a legacy alias of scrollY. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26393
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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26401
performancereadonlyPerformanceMDN ReferenceWindowOrWorkerGlobalScope.performancenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26647
personalbarreadonlyBarPropReturns true if the personal bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26407
screenreadonlyScreenMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26409
screenLeftreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26411
screenTopreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26413
screenXreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26415
screenYreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26417
scrollbarsreadonlyBarPropReturns true if the scrollbars are visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26427
scrollXreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26419
scrollYreadonlynumberMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26421
selfreadonlyWindow & typeof globalThisMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26429
sessionStoragereadonlyStorageMDN ReferenceWindowSessionStorage.sessionStoragenode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26675
speechSynthesisreadonlySpeechSynthesisMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26431
statuspublicstringDeprecated MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26437
statusbarreadonlyBarPropReturns true if the status bar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26443
toolbarreadonlyBarPropReturns true if the toolbar is visible; otherwise, returns false. MDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26449
topreadonlynull | WindowMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26451
visualViewportreadonlynull | VisualViewportMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26453
windowreadonlyWindow & typeof globalThisMDN Reference-node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26455

Accessors

location
Get Signature

get location(): Location

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26328

MDN Reference

Returns

Location

Set Signature

set location(href): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26329

Parameters
ParameterType
hrefstring | Location
Returns

void

Methods

addEventListener()
Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26544

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26545

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26457

MDN Reference

Parameters
ParameterType
message?any
Returns

void

atob()

atob(data): string

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26649

MDN Reference

Parameters
ParameterType
datastring
Returns

string

Inherited from

WindowOrWorkerGlobalScope.atob

blur()

blur(): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26463

Returns

void

Deprecated

MDN Reference

btoa()

btoa(data): string

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26651

MDN Reference

Parameters
ParameterType
datastring
Returns

string

Inherited from

WindowOrWorkerGlobalScope.btoa

cancelAnimationFrame()

cancelAnimationFrame(handle): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:2743

MDN Reference

Parameters
ParameterType
handlenumber
Returns

void

Inherited from

AnimationFrameProvider.cancelAnimationFrame

cancelIdleCallback()

cancelIdleCallback(handle): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26465

MDN Reference

Parameters
ParameterType
handlenumber
Returns

void

captureEvents()

captureEvents(): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26471

Returns

void

Deprecated

MDN Reference

clearInterval()

clearInterval(id): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26653

MDN Reference

Parameters
ParameterType
idundefined | number
Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearInterval

clearTimeout()

clearTimeout(id): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26655

MDN Reference

Parameters
ParameterType
idundefined | number
Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearTimeout

close()

close(): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26477

Closes the window.

MDN Reference

Returns

void

confirm()

confirm(message?): boolean

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26479

MDN Reference

Parameters
ParameterType
message?string
Returns

boolean

createImageBitmap()
Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26657

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26658

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:8719

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26660

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26485

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26487

MDN Reference

Parameters
ParameterType
eltElement
pseudoElt?null | string
Returns

CSSStyleDeclaration

getSelection()

getSelection(): null | Selection

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26489

MDN Reference

Returns

null | Selection

matchMedia()

matchMedia(query): MediaQueryList

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26491

MDN Reference

Parameters
ParameterType
querystring
Returns

MediaQueryList

moveBy()

moveBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26493

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

moveTo()

moveTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26495

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

open()

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26497

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26511

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26512

Parameters
ParameterType
messageany
options?WindowPostMessageOptions
Returns

void

print()

print(): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26514

MDN Reference

Returns

void

prompt()

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26516

MDN Reference

Parameters
ParameterType
message?string
_default?string
Returns

null | string

queueMicrotask()

queueMicrotask(callback): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26662

MDN Reference

Parameters
ParameterType
callbackVoidFunction
Returns

void

Inherited from

WindowOrWorkerGlobalScope.queueMicrotask

releaseEvents()

releaseEvents(): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26522

Returns

void

Deprecated

MDN Reference

removeEventListener()
Call Signature

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26546

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26547

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26664

MDN Reference

Parameters
ParameterType
eany
Returns

void

Inherited from

WindowOrWorkerGlobalScope.reportError

requestAnimationFrame()

requestAnimationFrame(callback): number

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:2745

MDN Reference

Parameters
ParameterType
callbackFrameRequestCallback
Returns

number

Inherited from

AnimationFrameProvider.requestAnimationFrame

requestIdleCallback()

requestIdleCallback(callback, options?): number

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26524

MDN Reference

Parameters
ParameterType
callbackIdleRequestCallback
options?IdleRequestOptions
Returns

number

resizeBy()

resizeBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26526

MDN Reference

Parameters
ParameterType
xnumber
ynumber
Returns

void

resizeTo()

resizeTo(width, height): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26528

MDN Reference

Parameters
ParameterType
widthnumber
heightnumber
Returns

void

scroll()
Call Signature

scroll(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26530

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scroll(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26531

Parameters
ParameterType
xnumber
ynumber
Returns

void

scrollBy()
Call Signature

scrollBy(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26533

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scrollBy(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26534

Parameters
ParameterType
xnumber
ynumber
Returns

void

scrollTo()
Call Signature

scrollTo(options?): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26536

MDN Reference

Parameters
ParameterType
options?ScrollToOptions
Returns

void

Call Signature

scrollTo(x, y): void

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26537

Parameters
ParameterType
xnumber
ynumber
Returns

void

setInterval()

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26666

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26668

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26543

Cancels the document load.

MDN Reference

Returns

void

structuredClone()

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

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26670

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.7.2/node_modules/typescript/lib/lib.dom.d.ts:26280

Type declaration

Returns

Window

NameTypeDefined in
prototypeWindownode_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26552