Skip to content

@ahqstore/env-types / Window

Interface: Window

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36358

The Window interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window.

MDN Reference

Extends

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

Indexable

[index: number]: Window

Properties

AHQStore

AHQStore: AHQStore

Defined in: exports.d.ts:31


caches

readonly caches: CacheStorage

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36892

Available only in secure contexts.

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.caches


clientInformation

readonly clientInformation: Navigator

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36364

Deprecated

This is a legacy alias of navigator.

MDN Reference


closed

readonly closed: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36370

The Window.closed read-only property indicates whether the referenced window is closed or not.

MDN Reference


cookieStore

readonly cookieStore: CookieStore

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36376

The cookieStore read-only property of the Window interface returns a reference to the CookieStore object for the current document context.

MDN Reference


crossOriginIsolated

readonly crossOriginIsolated: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36894

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.crossOriginIsolated


crypto

readonly crypto: Crypto

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36896

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.crypto


customElements

readonly customElements: CustomElementRegistry

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36382

The customElements read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.

MDN Reference


devicePixelRatio

readonly devicePixelRatio: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36388

The devicePixelRatio of Window interface returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.

MDN Reference


document

readonly document: Document

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36394

window.document returns a reference to the document contained in the window.

MDN Reference


event

readonly event: Event | undefined

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36401

The read-only Window property event returns the Event which is currently being handled by the site's code.

Deprecated

MDN Reference


external

readonly external: External

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36408

The external property of the Window API returns an instance of the External interface, which was intended to contain functions related to adding external search providers to the browser.

Deprecated

MDN Reference


frameElement

readonly frameElement: Element | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36414

The Window.frameElement property returns the element (such as iframe or object) in which the window is embedded.

MDN Reference


frames

readonly frames: Window

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36420

Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.

MDN Reference


history

readonly history: History

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36426

The Window.history read-only property returns a reference to the History object, which provides an interface for manipulating the browser session history (pages visited in the tab or frame that the current page is loaded in).

MDN Reference


indexedDB

readonly indexedDB: IDBFactory

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36898

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.indexedDB


innerHeight

readonly innerHeight: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36432

The read-only innerHeight property of the including the height of the horizontal scroll bar, if present.

MDN Reference


innerWidth

readonly innerWidth: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36438

The read-only Window property innerWidth returns the interior width of the window in pixels (that is, the width of the window's layout viewport).

MDN Reference


isSecureContext

readonly isSecureContext: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36900

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.isSecureContext


length

readonly length: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36444

Returns the number of frames (either frame or A number.

MDN Reference


localStorage

readonly localStorage: Storage

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36883

MDN Reference

Inherited from

WindowLocalStorage.localStorage


locationbar

readonly locationbar: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36457

Returns the locationbar object.

MDN Reference


readonly menubar: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36463

Returns the menubar object.

MDN Reference


name

name: string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36469

The Window.name property gets/sets the name of the window's browsing context.

MDN Reference


readonly navigator: Navigator

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36475

The Window.navigator read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.

MDN Reference


onabort

onabort: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12743

MDN Reference

Inherited from

GlobalEventHandlers.onabort


onafterprint

onafterprint: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36832

MDN Reference

Inherited from

WindowEventHandlers.onafterprint


onanimationcancel

onanimationcancel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12745

MDN Reference

Inherited from

GlobalEventHandlers.onanimationcancel


onanimationend

onanimationend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12747

MDN Reference

Inherited from

GlobalEventHandlers.onanimationend


onanimationiteration

onanimationiteration: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12749

MDN Reference

Inherited from

GlobalEventHandlers.onanimationiteration


onanimationstart

onanimationstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12751

MDN Reference

Inherited from

GlobalEventHandlers.onanimationstart


onauxclick

onauxclick: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12753

MDN Reference

Inherited from

GlobalEventHandlers.onauxclick


onbeforeinput

onbeforeinput: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12755

MDN Reference

Inherited from

GlobalEventHandlers.onbeforeinput


onbeforematch

onbeforematch: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12757

MDN Reference

Inherited from

GlobalEventHandlers.onbeforematch


onbeforeprint

onbeforeprint: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36834

MDN Reference

Inherited from

WindowEventHandlers.onbeforeprint


onbeforetoggle

onbeforetoggle: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12759

MDN Reference

Inherited from

GlobalEventHandlers.onbeforetoggle


onbeforeunload

onbeforeunload: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36836

MDN Reference

Inherited from

WindowEventHandlers.onbeforeunload


onblur

onblur: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12761

MDN Reference

Inherited from

GlobalEventHandlers.onblur


oncancel

oncancel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12763

MDN Reference

Inherited from

GlobalEventHandlers.oncancel


oncanplay

oncanplay: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12765

MDN Reference

Inherited from

GlobalEventHandlers.oncanplay


oncanplaythrough

oncanplaythrough: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12767

MDN Reference

Inherited from

GlobalEventHandlers.oncanplaythrough


onchange

onchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12769

MDN Reference

Inherited from

GlobalEventHandlers.onchange


onclick

onclick: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12771

MDN Reference

Inherited from

GlobalEventHandlers.onclick


onclose

onclose: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12773

MDN Reference

Inherited from

GlobalEventHandlers.onclose


oncontextlost

oncontextlost: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12775

MDN Reference

Inherited from

GlobalEventHandlers.oncontextlost


oncontextmenu

oncontextmenu: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12777

MDN Reference

Inherited from

GlobalEventHandlers.oncontextmenu


oncontextrestored

oncontextrestored: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12779

MDN Reference

Inherited from

GlobalEventHandlers.oncontextrestored


oncopy

oncopy: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12781

MDN Reference

Inherited from

GlobalEventHandlers.oncopy


oncuechange

oncuechange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12783

MDN Reference

Inherited from

GlobalEventHandlers.oncuechange


oncut

oncut: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12785

MDN Reference

Inherited from

GlobalEventHandlers.oncut


ondblclick

ondblclick: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12787

MDN Reference

Inherited from

GlobalEventHandlers.ondblclick


ondevicemotion

ondevicemotion: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36481

Available only in secure contexts.

MDN Reference


ondeviceorientation

ondeviceorientation: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36487

Available only in secure contexts.

MDN Reference


ondeviceorientationabsolute

ondeviceorientationabsolute: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36493

Available only in secure contexts.

MDN Reference


ondrag

ondrag: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12789

MDN Reference

Inherited from

GlobalEventHandlers.ondrag


ondragend

ondragend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12791

MDN Reference

Inherited from

GlobalEventHandlers.ondragend


ondragenter

ondragenter: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12793

MDN Reference

Inherited from

GlobalEventHandlers.ondragenter


ondragleave

ondragleave: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12795

MDN Reference

Inherited from

GlobalEventHandlers.ondragleave


ondragover

ondragover: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12797

MDN Reference

Inherited from

GlobalEventHandlers.ondragover


ondragstart

ondragstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12799

MDN Reference

Inherited from

GlobalEventHandlers.ondragstart


ondrop

ondrop: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12801

MDN Reference

Inherited from

GlobalEventHandlers.ondrop


ondurationchange

ondurationchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12803

MDN Reference

Inherited from

GlobalEventHandlers.ondurationchange


onemptied

onemptied: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12805

MDN Reference

Inherited from

GlobalEventHandlers.onemptied


onended

onended: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12807

MDN Reference

Inherited from

GlobalEventHandlers.onended


onerror

onerror: OnErrorEventHandler

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12809

MDN Reference

Inherited from

GlobalEventHandlers.onerror


onfocus

onfocus: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12811

MDN Reference

Inherited from

GlobalEventHandlers.onfocus


onformdata

onformdata: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12813

MDN Reference

Inherited from

GlobalEventHandlers.onformdata


ongamepadconnected

ongamepadconnected: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36838

MDN Reference

Inherited from

WindowEventHandlers.ongamepadconnected


ongamepaddisconnected

ongamepaddisconnected: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36840

MDN Reference

Inherited from

WindowEventHandlers.ongamepaddisconnected


ongotpointercapture

ongotpointercapture: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12815

MDN Reference

Inherited from

GlobalEventHandlers.ongotpointercapture


onhashchange

onhashchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36842

MDN Reference

Inherited from

WindowEventHandlers.onhashchange


oninput

oninput: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12817

MDN Reference

Inherited from

GlobalEventHandlers.oninput


oninvalid

oninvalid: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12819

MDN Reference

Inherited from

GlobalEventHandlers.oninvalid


onkeydown

onkeydown: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12821

MDN Reference

Inherited from

GlobalEventHandlers.onkeydown


onkeypress

onkeypress: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12827

Deprecated

MDN Reference

Inherited from

GlobalEventHandlers.onkeypress


onkeyup

onkeyup: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12829

MDN Reference

Inherited from

GlobalEventHandlers.onkeyup


onlanguagechange

onlanguagechange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36844

MDN Reference

Inherited from

WindowEventHandlers.onlanguagechange


onload

onload: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12831

MDN Reference

Inherited from

GlobalEventHandlers.onload


onloadeddata

onloadeddata: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12833

MDN Reference

Inherited from

GlobalEventHandlers.onloadeddata


onloadedmetadata

onloadedmetadata: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12835

MDN Reference

Inherited from

GlobalEventHandlers.onloadedmetadata


onloadstart

onloadstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12837

MDN Reference

Inherited from

GlobalEventHandlers.onloadstart


onlostpointercapture

onlostpointercapture: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12839

MDN Reference

Inherited from

GlobalEventHandlers.onlostpointercapture


onmessage

onmessage: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36846

MDN Reference

Inherited from

WindowEventHandlers.onmessage


onmessageerror

onmessageerror: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36848

MDN Reference

Inherited from

WindowEventHandlers.onmessageerror


onmousedown

onmousedown: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12841

MDN Reference

Inherited from

GlobalEventHandlers.onmousedown


onmouseenter

onmouseenter: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12843

MDN Reference

Inherited from

GlobalEventHandlers.onmouseenter


onmouseleave

onmouseleave: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12845

MDN Reference

Inherited from

GlobalEventHandlers.onmouseleave


onmousemove

onmousemove: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12847

MDN Reference

Inherited from

GlobalEventHandlers.onmousemove


onmouseout

onmouseout: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12849

MDN Reference

Inherited from

GlobalEventHandlers.onmouseout


onmouseover

onmouseover: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12851

MDN Reference

Inherited from

GlobalEventHandlers.onmouseover


onmouseup

onmouseup: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12853

MDN Reference

Inherited from

GlobalEventHandlers.onmouseup


onoffline

onoffline: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36850

MDN Reference

Inherited from

WindowEventHandlers.onoffline


ononline

ononline: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36852

MDN Reference

Inherited from

WindowEventHandlers.ononline


onorientationchange

onorientationchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36499

Deprecated

MDN Reference


onpagehide

onpagehide: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36854

MDN Reference

Inherited from

WindowEventHandlers.onpagehide


onpagereveal

onpagereveal: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36856

MDN Reference

Inherited from

WindowEventHandlers.onpagereveal


onpageshow

onpageshow: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36858

MDN Reference

Inherited from

WindowEventHandlers.onpageshow


onpageswap

onpageswap: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36860

MDN Reference

Inherited from

WindowEventHandlers.onpageswap


onpaste

onpaste: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12855

MDN Reference

Inherited from

GlobalEventHandlers.onpaste


onpause

onpause: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12857

MDN Reference

Inherited from

GlobalEventHandlers.onpause


onplay

onplay: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12859

MDN Reference

Inherited from

GlobalEventHandlers.onplay


onplaying

onplaying: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12861

MDN Reference

Inherited from

GlobalEventHandlers.onplaying


onpointercancel

onpointercancel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12863

MDN Reference

Inherited from

GlobalEventHandlers.onpointercancel


onpointerdown

onpointerdown: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12865

MDN Reference

Inherited from

GlobalEventHandlers.onpointerdown


onpointerenter

onpointerenter: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12867

MDN Reference

Inherited from

GlobalEventHandlers.onpointerenter


onpointerleave

onpointerleave: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12869

MDN Reference

Inherited from

GlobalEventHandlers.onpointerleave


onpointermove

onpointermove: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12871

MDN Reference

Inherited from

GlobalEventHandlers.onpointermove


onpointerout

onpointerout: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12873

MDN Reference

Inherited from

GlobalEventHandlers.onpointerout


onpointerover

onpointerover: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12875

MDN Reference

Inherited from

GlobalEventHandlers.onpointerover


onpointerrawupdate

onpointerrawupdate: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12881

Available only in secure contexts.

MDN Reference

Inherited from

GlobalEventHandlers.onpointerrawupdate


onpointerup

onpointerup: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12883

MDN Reference

Inherited from

GlobalEventHandlers.onpointerup


onpopstate

onpopstate: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36862

MDN Reference

Inherited from

WindowEventHandlers.onpopstate


onprogress

onprogress: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12885

MDN Reference

Inherited from

GlobalEventHandlers.onprogress


onratechange

onratechange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12887

MDN Reference

Inherited from

GlobalEventHandlers.onratechange


onrejectionhandled

onrejectionhandled: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36864

MDN Reference

Inherited from

WindowEventHandlers.onrejectionhandled


onreset

onreset: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12889

MDN Reference

Inherited from

GlobalEventHandlers.onreset


onresize

onresize: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12891

MDN Reference

Inherited from

GlobalEventHandlers.onresize


onscroll

onscroll: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12893

MDN Reference

Inherited from

GlobalEventHandlers.onscroll


onscrollend

onscrollend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12895

MDN Reference

Inherited from

GlobalEventHandlers.onscrollend


onsecuritypolicyviolation

onsecuritypolicyviolation: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12897

MDN Reference

Inherited from

GlobalEventHandlers.onsecuritypolicyviolation


onseeked

onseeked: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12899

MDN Reference

Inherited from

GlobalEventHandlers.onseeked


onseeking

onseeking: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12901

MDN Reference

Inherited from

GlobalEventHandlers.onseeking


onselect

onselect: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12903

MDN Reference

Inherited from

GlobalEventHandlers.onselect


onselectionchange

onselectionchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12905

MDN Reference

Inherited from

GlobalEventHandlers.onselectionchange


onselectstart

onselectstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12907

MDN Reference

Inherited from

GlobalEventHandlers.onselectstart


onslotchange

onslotchange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12909

MDN Reference

Inherited from

GlobalEventHandlers.onslotchange


onstalled

onstalled: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12911

MDN Reference

Inherited from

GlobalEventHandlers.onstalled


onstorage

onstorage: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36866

MDN Reference

Inherited from

WindowEventHandlers.onstorage


onsubmit

onsubmit: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12913

MDN Reference

Inherited from

GlobalEventHandlers.onsubmit


onsuspend

onsuspend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12915

MDN Reference

Inherited from

GlobalEventHandlers.onsuspend


ontimeupdate

ontimeupdate: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12917

MDN Reference

Inherited from

GlobalEventHandlers.ontimeupdate


ontoggle

ontoggle: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12919

MDN Reference

Inherited from

GlobalEventHandlers.ontoggle


ontouchcancel?

optional ontouchcancel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12921

MDN Reference

Inherited from

GlobalEventHandlers.ontouchcancel


ontouchend?

optional ontouchend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12923

MDN Reference

Inherited from

GlobalEventHandlers.ontouchend


ontouchmove?

optional ontouchmove: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12925

MDN Reference

Inherited from

GlobalEventHandlers.ontouchmove


ontouchstart?

optional ontouchstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12927

MDN Reference

Inherited from

GlobalEventHandlers.ontouchstart


ontransitioncancel

ontransitioncancel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12929

MDN Reference

Inherited from

GlobalEventHandlers.ontransitioncancel


ontransitionend

ontransitionend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12931

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionend


ontransitionrun

ontransitionrun: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12933

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionrun


ontransitionstart

ontransitionstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12935

MDN Reference

Inherited from

GlobalEventHandlers.ontransitionstart


onunhandledrejection

onunhandledrejection: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36868

MDN Reference

Inherited from

WindowEventHandlers.onunhandledrejection


onunload

onunload: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36874

Deprecated

MDN Reference

Inherited from

WindowEventHandlers.onunload


onvolumechange

onvolumechange: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12937

MDN Reference

Inherited from

GlobalEventHandlers.onvolumechange


onwaiting

onwaiting: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12939

MDN Reference

Inherited from

GlobalEventHandlers.onwaiting


onwebkitanimationend

onwebkitanimationend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12945

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationend


onwebkitanimationiteration

onwebkitanimationiteration: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12951

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationiteration


onwebkitanimationstart

onwebkitanimationstart: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12957

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkitanimationstart


onwebkittransitionend

onwebkittransitionend: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12963

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

GlobalEventHandlers.onwebkittransitionend


onwheel

onwheel: (this, ev) => any | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:12965

MDN Reference

Inherited from

GlobalEventHandlers.onwheel


opener

opener: any

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36505

The Window interface's opener property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a target attribute.

MDN Reference


orientation

readonly orientation: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36512

Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.

Deprecated

MDN Reference


origin

readonly origin: string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36902

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.origin


originAgentCluster

readonly originAgentCluster: boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36518

The originAgentCluster read-only property of the Window interface returns true if this window belongs to an origin-keyed agent cluster: this means that the operating system has provided dedicated resources (for example an operating system process) to this window's origin that are not shared with windows from other origins.

MDN Reference


outerHeight

readonly outerHeight: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36524

The Window.outerHeight read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.

MDN Reference


outerWidth

readonly outerWidth: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36530

Window.outerWidth read-only property returns the width of the outside of the browser window.

MDN Reference


pageXOffset

readonly pageXOffset: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36532

MDN Reference


pageYOffset

readonly pageYOffset: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36534

MDN Reference


parent

readonly parent: Window

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36540

The Window.parent property is a reference to the parent of the current window or subframe.

MDN Reference


performance

readonly performance: Performance

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36904

MDN Reference

Inherited from

WindowOrWorkerGlobalScope.performance


personalbar

readonly personalbar: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36546

Returns the personalbar object.

MDN Reference


screen

readonly screen: Screen

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36552

The Window property screen returns a reference to the screen object associated with the window.

MDN Reference


screenLeft

readonly screenLeft: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36558

The Window.screenLeft read-only property returns the horizontal distance, in CSS pixels, from the left border of the user's browser viewport to the left side of the screen.

MDN Reference


screenTop

readonly screenTop: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36564

The Window.screenTop read-only property returns the vertical distance, in CSS pixels, from the top border of the user's browser viewport to the top side of the screen.

MDN Reference


screenX

readonly screenX: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36570

The Window.screenX read-only property returns the horizontal distance, in CSS pixels, of the left border of the user's browser viewport to the left side of the screen.

MDN Reference


screenY

readonly screenY: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36576

The Window.screenY read-only property returns the vertical distance, in CSS pixels, of the top border of the user's browser viewport to the top edge of the screen.

MDN Reference


scrollbars

readonly scrollbars: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36594

Returns the scrollbars object.

MDN Reference


scrollX

readonly scrollX: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36582

The read-only scrollX property of the Window interface returns the number of pixels by which the document is currently scrolled horizontally.

MDN Reference


scrollY

readonly scrollY: number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36588

The read-only scrollY property of the Window interface returns the number of pixels by which the document is currently scrolled vertically.

MDN Reference


self

readonly self: Window & typeof globalThis

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36600

The Window.self read-only property returns the window itself, as a WindowProxy.

MDN Reference


sessionStorage

readonly sessionStorage: Storage

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36932

MDN Reference

Inherited from

WindowSessionStorage.sessionStorage


speechSynthesis

readonly speechSynthesis: SpeechSynthesis

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36606

The speechSynthesis read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.

MDN Reference


status

status: string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36613

The status property of the bar at the bottom of the browser window.

Deprecated

MDN Reference


statusbar

readonly statusbar: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36619

Returns the statusbar object.

MDN Reference


toolbar

readonly toolbar: BarProp

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36625

Returns the toolbar object.

MDN Reference


top

readonly top: Window | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36631

Returns a reference to the topmost window in the window hierarchy.

MDN Reference


visualViewport

readonly visualViewport: VisualViewport | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36637

The visualViewport read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or null if current document is not fully active.

MDN Reference


window

readonly window: Window & typeof globalThis

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36643

The window property of a Window object points to the window object itself.

MDN Reference

Accessors

location

Get Signature

get location(): Location

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36450

The Window.location read-only property returns a Location object with information about the current location of the document.

MDN Reference

Returns

Location

Set Signature

set location(href): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36451

Parameters
href

string

Returns

void

Methods

addEventListener()

Call Signature

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36795

The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

MDN Reference

Type Parameters
K

K extends keyof WindowEventMap

Parameters
type

K

listener

(this, ev) => any

options?

boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener

Call Signature

addEventListener(type, listener, options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36796

The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

MDN Reference

Parameters
type

string

listener

EventListenerOrEventListenerObject

options?

boolean | AddEventListenerOptions

Returns

void

Overrides

EventTarget.addEventListener


alert()

alert(message?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36649

window.alert() instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.

MDN Reference

Parameters

message?

any

Returns

void


atob()

atob(data): string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36906

MDN Reference

Parameters

data

string

Returns

string

Inherited from

WindowOrWorkerGlobalScope.atob


blur()

blur(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36656

The Window.blur() method does nothing.

Returns

void

Deprecated

MDN Reference


btoa()

btoa(data): string

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36908

MDN Reference

Parameters

data

string

Returns

string

Inherited from

WindowOrWorkerGlobalScope.btoa


cancelAnimationFrame()

cancelAnimationFrame(handle): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:3133

MDN Reference

Parameters

handle

number

Returns

void

Inherited from

AnimationFrameProvider.cancelAnimationFrame


cancelIdleCallback()

cancelIdleCallback(handle): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36662

The window.cancelIdleCallback() method cancels a callback previously scheduled with window.requestIdleCallback().

MDN Reference

Parameters

handle

number

Returns

void


captureEvents()

captureEvents(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36669

The Window.captureEvents() method does nothing.

Returns

void

Deprecated

MDN Reference


clearInterval()

clearInterval(id): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36910

MDN Reference

Parameters

id

number | undefined

Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearInterval


clearTimeout()

clearTimeout(id): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36912

MDN Reference

Parameters

id

number | undefined

Returns

void

Inherited from

WindowOrWorkerGlobalScope.clearTimeout


close()

close(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36675

The Window.close() method closes the current window, or the window on which it was called.

MDN Reference

Returns

void


confirm()

confirm(message?): boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36681

window.confirm() instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.

MDN Reference

Parameters

message?

string

Returns

boolean


createImageBitmap()

Call Signature

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36914

MDN Reference

Parameters
image

ImageBitmapSource

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

WindowOrWorkerGlobalScope.createImageBitmap

Call Signature

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36915

Parameters
image

ImageBitmapSource

sx

number

sy

number

sw

number

sh

number

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

WindowOrWorkerGlobalScope.createImageBitmap


dispatchEvent()

dispatchEvent(event): boolean

Defined in: node_modules/typescript/lib/lib.dom.d.ts:11575

The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

MDN Reference

Parameters

event

Event

Returns

boolean

Inherited from

EventTarget.dispatchEvent


fetch()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36917

MDN Reference

Parameters

input

URL | RequestInfo

init?

RequestInit

Returns

Promise<Response>

Inherited from

WindowOrWorkerGlobalScope.fetch


focus()

focus(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36687

Makes a request to bring the window to the front.

MDN Reference

Returns

void


getComputedStyle()

getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36693

The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.

MDN Reference

Parameters

elt

Element

pseudoElt?

string | null

Returns

CSSStyleDeclaration


getSelection()

getSelection(): Selection | null

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36699

The getSelection() method of the Window interface returns the Selection object associated with the window's document, representing the range of text selected by the user or the current position of the caret.

MDN Reference

Returns

Selection | null


matchMedia()

matchMedia(query): MediaQueryList

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36705

The Window interface's matchMedia() method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.

MDN Reference

Parameters

query

string

Returns

MediaQueryList


moveBy()

moveBy(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36711

The moveBy() method of the Window interface moves the current window by a specified amount.

MDN Reference

Parameters

x

number

y

number

Returns

void


moveTo()

moveTo(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36717

The moveTo() method of the Window interface moves the current window to the specified coordinates.

MDN Reference

Parameters

x

number

y

number

Returns

void


open()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36723

The open() method of the Window interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.

MDN Reference

Parameters

url?

string | URL

target?

string

features?

string

Returns

Window | null


postMessage()

Call Signature

postMessage(message, targetOrigin, transfer?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36729

The window.postMessage() method safely enables cross-origin communication between Window objects; e.g., between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.

MDN Reference

Parameters
message

any

targetOrigin

string

transfer?

Transferable[]

Returns

void

Call Signature

postMessage(message, options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36730

Parameters
message

any

options?

WindowPostMessageOptions

Returns

void


print()

print(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36736

Opens the print dialog to print the current document.

MDN Reference

Returns

void


prompt()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36742

window.prompt() instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.

MDN Reference

Parameters

message?

string

_default?

string

Returns

string | null


queueMicrotask()

queueMicrotask(callback): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36919

MDN Reference

Parameters

callback

VoidFunction

Returns

void

Inherited from

WindowOrWorkerGlobalScope.queueMicrotask


releaseEvents()

releaseEvents(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36749

Releases the window from trapping events of a specific type.

Returns

void

Deprecated

MDN Reference


removeEventListener()

Call Signature

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36797

The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.

MDN Reference

Type Parameters
K

K extends keyof WindowEventMap

Parameters
type

K

listener

(this, ev) => any

options?

boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener

Call Signature

removeEventListener(type, listener, options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36798

The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.

MDN Reference

Parameters
type

string

listener

EventListenerOrEventListenerObject

options?

boolean | EventListenerOptions

Returns

void

Overrides

EventTarget.removeEventListener


reportError()

reportError(e): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36921

MDN Reference

Parameters

e

any

Returns

void

Inherited from

WindowOrWorkerGlobalScope.reportError


requestAnimationFrame()

requestAnimationFrame(callback): number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:3135

MDN Reference

Parameters

callback

FrameRequestCallback

Returns

number

Inherited from

AnimationFrameProvider.requestAnimationFrame


requestIdleCallback()

requestIdleCallback(callback, options?): number

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36755

The window.requestIdleCallback() method queues a function to be called during a browser's idle periods.

MDN Reference

Parameters

callback

IdleRequestCallback

options?

IdleRequestOptions

Returns

number


resizeBy()

resizeBy(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36761

The Window.resizeBy() method resizes the current window by a specified amount.

MDN Reference

Parameters

x

number

y

number

Returns

void


resizeTo()

resizeTo(width, height): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36767

The Window.resizeTo() method dynamically resizes the window.

MDN Reference

Parameters

width

number

height

number

Returns

void


scroll()

Call Signature

scroll(options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36773

The Window.scroll() method scrolls the window to a particular place in the document.

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Call Signature

scroll(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36774

Parameters
x

number

y

number

Returns

void


scrollBy()

Call Signature

scrollBy(options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36780

The Window.scrollBy() method scrolls the document in the window by the given amount.

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Call Signature

scrollBy(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36781

Parameters
x

number

y

number

Returns

void


scrollTo()

Call Signature

scrollTo(options?): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36787

Window.scrollTo() scrolls to a particular set of coordinates in the document.

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Call Signature

scrollTo(x, y): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36788

Parameters
x

number

y

number

Returns

void


setInterval()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36923

MDN Reference

Parameters

handler

TimerHandler

timeout?

number

arguments?

...any[]

Returns

number

Inherited from

WindowOrWorkerGlobalScope.setInterval


setTimeout()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36925

MDN Reference

Parameters

handler

TimerHandler

timeout?

number

arguments?

...any[]

Returns

number

Inherited from

WindowOrWorkerGlobalScope.setTimeout


stop()

stop(): void

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36794

The window.stop() stops further resource loading in the current browsing context, equivalent to the stop button in the browser.

MDN Reference

Returns

void


structuredClone()

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

Defined in: node_modules/typescript/lib/lib.dom.d.ts:36927

MDN Reference

Type Parameters

T

T = any

Parameters

value

T

options?

StructuredSerializeOptions

Returns

T

Inherited from

WindowOrWorkerGlobalScope.structuredClone