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.
Extends
EventTarget
.AnimationFrameProvider
.GlobalEventHandlers
.WindowEventHandlers
.WindowLocalStorage
.WindowOrWorkerGlobalScope
.WindowSessionStorage
Indexable
[index
: number
]: Window
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
__DESKULPT_CANVAS_INTERNALS__ | readonly | object | - | - | src/canvas/main.tsx:9 |
__DESKULPT_CANVAS_INTERNALS__.apisWrapper | readonly | string | - | - | src/canvas/main.tsx:10 |
__DESKULPT_CANVAS_INTERNALS__.initialSettings | readonly | DeepReadonly <Settings > | - | - | src/canvas/main.tsx:11 |
__DESKULPT_MANAGER_INTERNALS__ | readonly | object | - | - | src/manager/main.tsx:10 |
__DESKULPT_MANAGER_INTERNALS__.initialSettings | readonly | DeepReadonly <Settings > | - | - | src/manager/main.tsx:11 |
caches | readonly | CacheStorage | Available only in secure contexts. MDN Reference | WindowOrWorkerGlobalScope.caches | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26635 |
clientInformation | readonly | Navigator | Deprecated 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 |
closed | readonly | boolean | Returns 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 |
crossOriginIsolated | readonly | boolean | MDN Reference | WindowOrWorkerGlobalScope.crossOriginIsolated | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26637 |
crypto | readonly | Crypto | MDN Reference | WindowOrWorkerGlobalScope.crypto | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26639 |
customElements | readonly | CustomElementRegistry | Defines 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 |
devicePixelRatio | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26300 |
document | readonly | Document | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26302 |
event | readonly | undefined | Event | Deprecated MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26308 |
external | readonly | External | Deprecated MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26314 |
frameElement | readonly | null | Element | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26316 |
frames | readonly | Window | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26318 |
history | readonly | History | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26320 |
indexedDB | readonly | IDBFactory | MDN Reference | WindowOrWorkerGlobalScope.indexedDB | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26641 |
innerHeight | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26322 |
innerWidth | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26324 |
isSecureContext | readonly | boolean | MDN Reference | WindowOrWorkerGlobalScope.isSecureContext | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26643 |
length | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26326 |
localStorage | readonly | Storage | MDN Reference | WindowLocalStorage.localStorage | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26626 |
locationbar | readonly | BarProp | Returns 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 |
menubar | readonly | BarProp | Returns 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 |
name | public | string | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26343 |
navigator | readonly | Navigator | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26345 |
onabort | public | null | (this , ev ) => any | Fires when the user aborts the download. Param The event. MDN Reference | GlobalEventHandlers.onabort | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9452 |
onafterprint | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onafterprint | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26579 |
onanimationcancel | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onanimationcancel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9454 |
onanimationend | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onanimationend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9456 |
onanimationiteration | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onanimationiteration | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9458 |
onanimationstart | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onanimationstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9460 |
onauxclick | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onauxclick | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9462 |
onbeforeinput | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onbeforeinput | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9464 |
onbeforeprint | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onbeforeprint | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26581 |
onbeforetoggle | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onbeforetoggle | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9466 |
onbeforeunload | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onbeforeunload | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26583 |
onblur | public | null | (this , ev ) => any | Fires when the object loses the input focus. Param The focus event. MDN Reference | GlobalEventHandlers.onblur | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9473 |
oncancel | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncancel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9475 |
oncanplay | public | null | (this , ev ) => any | Occurs when playback is possible, but would require further buffering. Param The event. MDN Reference | GlobalEventHandlers.oncanplay | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9482 |
oncanplaythrough | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncanplaythrough | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9484 |
onchange | public | null | (this , ev ) => any | Fires when the contents of the object or selection have changed. Param The event. MDN Reference | GlobalEventHandlers.onchange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9491 |
onclick | public | null | (this , ev ) => any | Fires when the user clicks the left mouse button on the object Param The mouse event. MDN Reference | GlobalEventHandlers.onclick | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9498 |
onclose | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onclose | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9500 |
oncontextlost | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncontextlost | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9502 |
oncontextmenu | public | null | (this , ev ) => any | Fires when the user clicks the right mouse button in the client area, opening the context menu. Param The mouse event. MDN Reference | GlobalEventHandlers.oncontextmenu | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9509 |
oncontextrestored | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncontextrestored | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9511 |
oncopy | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncopy | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9513 |
oncuechange | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncuechange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9515 |
oncut | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oncut | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9517 |
ondblclick | public | null | (this , ev ) => any | Fires when the user double-clicks the object. Param The mouse event. MDN Reference | GlobalEventHandlers.ondblclick | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9524 |
ondevicemotion | public | null | (this , ev ) => any | Available only in secure contexts. MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26351 |
ondeviceorientation | public | null | (this , ev ) => any | Available only in secure contexts. MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26357 |
ondeviceorientationabsolute | public | null | (this , ev ) => any | Available only in secure contexts. MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26363 |
ondrag | public | null | (this , ev ) => any | Fires on the source object continuously during a drag operation. Param The event. MDN Reference | GlobalEventHandlers.ondrag | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9531 |
ondragend | public | null | (this , ev ) => any | Fires on the source object when the user releases the mouse at the close of a drag operation. Param The event. MDN Reference | GlobalEventHandlers.ondragend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9538 |
ondragenter | public | null | (this , ev ) => any | Fires on the target element when the user drags the object to a valid drop target. Param The drag event. MDN Reference | GlobalEventHandlers.ondragenter | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9545 |
ondragleave | public | null | (this , ev ) => any | Fires 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 Reference | GlobalEventHandlers.ondragleave | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9552 |
ondragover | public | null | (this , ev ) => any | Fires on the target element continuously while the user drags the object over a valid drop target. Param The event. MDN Reference | GlobalEventHandlers.ondragover | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9559 |
ondragstart | public | null | (this , ev ) => any | Fires on the source object when the user starts to drag a text selection or selected object. Param The event. MDN Reference | GlobalEventHandlers.ondragstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9566 |
ondrop | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ondrop | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9568 |
ondurationchange | public | null | (this , ev ) => any | Occurs when the duration attribute is updated. Param The event. MDN Reference | GlobalEventHandlers.ondurationchange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9575 |
onemptied | public | null | (this , ev ) => any | Occurs when the media element is reset to its initial state. Param The event. MDN Reference | GlobalEventHandlers.onemptied | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9582 |
onended | public | null | (this , ev ) => any | Occurs when the end of playback is reached. Param The event MDN Reference | GlobalEventHandlers.onended | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9589 |
onerror | public | OnErrorEventHandler | Fires when an error occurs during object loading. Param The event. MDN Reference | GlobalEventHandlers.onerror | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9596 |
onfocus | public | null | (this , ev ) => any | Fires when the object receives focus. Param The event. MDN Reference | GlobalEventHandlers.onfocus | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9603 |
onformdata | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onformdata | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9605 |
ongamepadconnected | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.ongamepadconnected | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26585 |
ongamepaddisconnected | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.ongamepaddisconnected | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26587 |
ongotpointercapture | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ongotpointercapture | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9607 |
onhashchange | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onhashchange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26589 |
oninput | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oninput | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9609 |
oninvalid | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.oninvalid | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9611 |
onkeydown | public | null | (this , ev ) => any | Fires when the user presses a key. Param The keyboard event MDN Reference | GlobalEventHandlers.onkeydown | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9618 |
onkeypress | public | null | (this , ev ) => any | Fires when the user presses an alphanumeric key. Param The event. Deprecated MDN Reference | GlobalEventHandlers.onkeypress | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9626 |
onkeyup | public | null | (this , ev ) => any | Fires when the user releases a key. Param The keyboard event MDN Reference | GlobalEventHandlers.onkeyup | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9633 |
onlanguagechange | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onlanguagechange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26591 |
onload | public | null | (this , ev ) => any | Fires immediately after the browser loads the object. Param The event. MDN Reference | GlobalEventHandlers.onload | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9640 |
onloadeddata | public | null | (this , ev ) => any | Occurs when media data is loaded at the current playback position. Param The event. MDN Reference | GlobalEventHandlers.onloadeddata | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9647 |
onloadedmetadata | public | null | (this , ev ) => any | Occurs when the duration and dimensions of the media have been determined. Param The event. MDN Reference | GlobalEventHandlers.onloadedmetadata | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9654 |
onloadstart | public | null | (this , ev ) => any | Occurs when Internet Explorer begins looking for media data. Param The event. MDN Reference | GlobalEventHandlers.onloadstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9661 |
onlostpointercapture | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onlostpointercapture | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9663 |
onmessage | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onmessage | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26593 |
onmessageerror | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onmessageerror | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26595 |
onmousedown | public | null | (this , ev ) => any | Fires when the user clicks the object with either mouse button. Param The mouse event. MDN Reference | GlobalEventHandlers.onmousedown | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9670 |
onmouseenter | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onmouseenter | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9672 |
onmouseleave | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onmouseleave | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9674 |
onmousemove | public | null | (this , ev ) => any | Fires when the user moves the mouse over the object. Param The mouse event. MDN Reference | GlobalEventHandlers.onmousemove | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9681 |
onmouseout | public | null | (this , ev ) => any | Fires when the user moves the mouse pointer outside the boundaries of the object. Param The mouse event. MDN Reference | GlobalEventHandlers.onmouseout | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9688 |
onmouseover | public | null | (this , ev ) => any | Fires when the user moves the mouse pointer into the object. Param The mouse event. MDN Reference | GlobalEventHandlers.onmouseover | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9695 |
onmouseup | public | null | (this , ev ) => any | Fires when the user releases a mouse button while the mouse is over the object. Param The mouse event. MDN Reference | GlobalEventHandlers.onmouseup | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9702 |
onoffline | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onoffline | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26597 |
ononline | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.ononline | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26599 |
onorientationchange | public | null | (this , ev ) => any | Deprecated MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26369 |
onpagehide | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onpagehide | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26601 |
onpageshow | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onpageshow | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26603 |
onpaste | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpaste | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9704 |
onpause | public | null | (this , ev ) => any | Occurs when playback is paused. Param The event. MDN Reference | GlobalEventHandlers.onpause | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9711 |
onplay | public | null | (this , ev ) => any | Occurs when the play method is requested. Param The event. MDN Reference | GlobalEventHandlers.onplay | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9718 |
onplaying | public | null | (this , ev ) => any | Occurs when the audio or video has started playing. Param The event. MDN Reference | GlobalEventHandlers.onplaying | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9725 |
onpointercancel | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointercancel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9727 |
onpointerdown | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerdown | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9729 |
onpointerenter | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerenter | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9731 |
onpointerleave | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerleave | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9733 |
onpointermove | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointermove | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9735 |
onpointerout | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerout | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9737 |
onpointerover | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerover | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9739 |
onpointerup | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onpointerup | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9741 |
onpopstate | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onpopstate | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26605 |
onprogress | public | null | (this , ev ) => any | Occurs to indicate progress while downloading media data. Param The event. MDN Reference | GlobalEventHandlers.onprogress | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9748 |
onratechange | public | null | (this , ev ) => any | Occurs when the playback rate is increased or decreased. Param The event. MDN Reference | GlobalEventHandlers.onratechange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9755 |
onrejectionhandled | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onrejectionhandled | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26607 |
onreset | public | null | (this , ev ) => any | Fires when the user resets a form. Param The event. MDN Reference | GlobalEventHandlers.onreset | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9762 |
onresize | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onresize | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9764 |
onscroll | public | null | (this , ev ) => any | Fires when the user repositions the scroll box in the scroll bar on the object. Param The event. MDN Reference | GlobalEventHandlers.onscroll | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9771 |
onscrollend | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onscrollend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9773 |
onsecuritypolicyviolation | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onsecuritypolicyviolation | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9775 |
onseeked | public | null | (this , ev ) => any | Occurs when the seek operation ends. Param The event. MDN Reference | GlobalEventHandlers.onseeked | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9782 |
onseeking | public | null | (this , ev ) => any | Occurs when the current playback position is moved. Param The event. MDN Reference | GlobalEventHandlers.onseeking | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9789 |
onselect | public | null | (this , ev ) => any | Fires when the current selection changes. Param The event. MDN Reference | GlobalEventHandlers.onselect | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9796 |
onselectionchange | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onselectionchange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9798 |
onselectstart | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onselectstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9800 |
onslotchange | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onslotchange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9802 |
onstalled | public | null | (this , ev ) => any | Occurs when the download has stopped. Param The event. MDN Reference | GlobalEventHandlers.onstalled | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9809 |
onstorage | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onstorage | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26609 |
onsubmit | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onsubmit | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9811 |
onsuspend | public | null | (this , ev ) => any | Occurs if the load operation has been intentionally halted. Param The event. MDN Reference | GlobalEventHandlers.onsuspend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9818 |
ontimeupdate | public | null | (this , ev ) => any | Occurs to indicate the current playback position. Param The event. MDN Reference | GlobalEventHandlers.ontimeupdate | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9825 |
ontoggle | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontoggle | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9827 |
ontouchcancel? | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontouchcancel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9829 |
ontouchend? | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontouchend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9831 |
ontouchmove? | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontouchmove | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9833 |
ontouchstart? | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontouchstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9835 |
ontransitioncancel | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontransitioncancel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9837 |
ontransitionend | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontransitionend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9839 |
ontransitionrun | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontransitionrun | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9841 |
ontransitionstart | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.ontransitionstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9843 |
onunhandledrejection | public | null | (this , ev ) => any | MDN Reference | WindowEventHandlers.onunhandledrejection | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26611 |
onunload | public | null | (this , ev ) => any | Deprecated MDN Reference | WindowEventHandlers.onunload | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26617 |
onvolumechange | public | null | (this , ev ) => any | Occurs when the volume is changed, or playback is muted or unmuted. Param The event. MDN Reference | GlobalEventHandlers.onvolumechange | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9850 |
onwaiting | public | null | (this , ev ) => any | Occurs when playback stops because the next frame of a video resource is not available. Param The event. MDN Reference | GlobalEventHandlers.onwaiting | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9857 |
onwebkitanimationend | public | null | (this , ev ) => any | Deprecated This is a legacy alias of onanimationend . MDN Reference | GlobalEventHandlers.onwebkitanimationend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9863 |
onwebkitanimationiteration | public | null | (this , ev ) => any | Deprecated This is a legacy alias of onanimationiteration . MDN Reference | GlobalEventHandlers.onwebkitanimationiteration | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9869 |
onwebkitanimationstart | public | null | (this , ev ) => any | Deprecated This is a legacy alias of onanimationstart . MDN Reference | GlobalEventHandlers.onwebkitanimationstart | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9875 |
onwebkittransitionend | public | null | (this , ev ) => any | Deprecated This is a legacy alias of ontransitionend . MDN Reference | GlobalEventHandlers.onwebkittransitionend | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9881 |
onwheel | public | null | (this , ev ) => any | MDN Reference | GlobalEventHandlers.onwheel | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:9883 |
opener | public | any | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26371 |
orientation | readonly | number | Deprecated MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26377 |
origin | readonly | string | MDN Reference | WindowOrWorkerGlobalScope.origin | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26645 |
outerHeight | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26379 |
outerWidth | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26381 |
pageXOffset | readonly | number | Deprecated 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 |
pageYOffset | readonly | number | Deprecated 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 |
parent | readonly | Window | Refers 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 |
performance | readonly | Performance | MDN Reference | WindowOrWorkerGlobalScope.performance | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26647 |
personalbar | readonly | BarProp | Returns 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 |
screen | readonly | Screen | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26409 |
screenLeft | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26411 |
screenTop | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26413 |
screenX | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26415 |
screenY | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26417 |
scrollbars | readonly | BarProp | Returns 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 |
scrollX | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26419 |
scrollY | readonly | number | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26421 |
self | readonly | Window & typeof globalThis | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26429 |
sessionStorage | readonly | Storage | MDN Reference | WindowSessionStorage.sessionStorage | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26675 |
speechSynthesis | readonly | SpeechSynthesis | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26431 |
status | public | string | Deprecated MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26437 |
statusbar | readonly | BarProp | Returns 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 |
toolbar | readonly | BarProp | Returns 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 |
top | readonly | null | Window | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26451 |
visualViewport | readonly | null | VisualViewport | MDN Reference | - | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26453 |
window | readonly | Window & typeof globalThis | MDN 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
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
Parameter | Type |
---|---|
href | string | 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.
Type Parameters
Type Parameter |
---|
K extends keyof WindowEventMap |
Parameters
Parameter | Type |
---|---|
type | K |
listener | (this , ev ) => any |
options ? | boolean | AddEventListenerOptions |
Returns
void
Overrides
EventTarget.addEventListener
Call Signature
addEventListener(
type
,listener
,options
?):void
Defined in: node_modules/.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.
Parameters
Parameter | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
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
Parameters
Parameter | Type |
---|---|
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
Parameters
Parameter | Type |
---|---|
data | string |
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
btoa()
btoa(
data
):string
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26651
Parameters
Parameter | Type |
---|---|
data | string |
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
Parameters
Parameter | Type |
---|---|
handle | number |
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
Parameters
Parameter | Type |
---|---|
handle | number |
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
clearInterval()
clearInterval(
id
):void
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26653
Parameters
Parameter | Type |
---|---|
id | undefined | 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
Parameters
Parameter | Type |
---|---|
id | undefined | 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.
Returns
void
confirm()
confirm(
message
?):boolean
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26479
Parameters
Parameter | Type |
---|---|
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
Parameters
Parameter | Type |
---|---|
image | ImageBitmapSource |
options ? | ImageBitmapOptions |
Returns
Promise
<ImageBitmap
>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
Call Signature
createImageBitmap(
image
,sx
,sy
,sw
,sh
,options
?):Promise
<ImageBitmap
>
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26658
Parameters
Parameter | Type |
---|---|
image | ImageBitmapSource |
sx | number |
sy | number |
sw | number |
sh | number |
options ? | ImageBitmapOptions |
Returns
Promise
<ImageBitmap
>
Inherited from
WindowOrWorkerGlobalScope.createImageBitmap
dispatchEvent()
dispatchEvent(
event
):boolean
Defined in: node_modules/.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.
Parameters
Parameter | Type |
---|---|
event | Event |
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
Parameters
Parameter | Type |
---|---|
input | URL | 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.
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
Parameters
Parameter | Type |
---|---|
elt | Element |
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
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
Parameters
Parameter | Type |
---|---|
query | string |
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
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
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.
Parameters
Parameter | Type |
---|---|
message | any |
targetOrigin | string |
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
Parameter | Type |
---|---|
message | any |
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
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
Parameters
Parameter | Type |
---|---|
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
Parameters
Parameter | Type |
---|---|
callback | VoidFunction |
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
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.
Type Parameters
Type Parameter |
---|
K extends keyof WindowEventMap |
Parameters
Parameter | Type |
---|---|
type | K |
listener | (this , ev ) => any |
options ? | boolean | EventListenerOptions |
Returns
void
Overrides
EventTarget.removeEventListener
Call Signature
removeEventListener(
type
,listener
,options
?):void
Defined in: node_modules/.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.
Parameters
Parameter | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
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
Parameters
Parameter | Type |
---|---|
e | any |
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
Parameters
Parameter | Type |
---|---|
callback | FrameRequestCallback |
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
Parameters
Parameter | Type |
---|---|
callback | IdleRequestCallback |
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
Parameters
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
width | number |
height | number |
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
Parameters
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
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
Parameter | Type |
---|---|
x | number |
y | number |
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
Parameters
Parameter | Type |
---|---|
handler | TimerHandler |
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
Parameters
Parameter | Type |
---|---|
handler | TimerHandler |
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.
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
Type Parameters
Type Parameter | Default type |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
value | T |
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
Name | Type | Defined in |
---|---|---|
prototype | Window | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.dom.d.ts:26552 |