LeoWindow

@demox-labs/aleo-wallet-adapter-leo / Exports / LeoWindow

Interface: LeoWindow

Hierarchy

  • Window

    LeoWindow

Table of contents

Properties

Accessors

Methods

Properties

caches

Readonly caches: CacheStorage

Available only in secure contexts.

Inherited from

Window.caches

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16958


clientInformation

Readonly clientInformation: Navigator

Deprecated

This is a legacy alias of navigator.

Inherited from

Window.clientInformation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16782


closed

Readonly closed: boolean

Returns true if the window has been closed, false otherwise.

Inherited from

Window.closed

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16784


crossOriginIsolated

Readonly crossOriginIsolated: boolean

Inherited from

Window.crossOriginIsolated

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16959


crypto

Readonly crypto: Crypto

Inherited from

Window.crypto

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16960


customElements

Readonly customElements: CustomElementRegistry

Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.

Inherited from

Window.customElements

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16786


devicePixelRatio

Readonly devicePixelRatio: number

Inherited from

Window.devicePixelRatio

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16787


document

Readonly document: Document

Inherited from

Window.document

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16788


event

Readonly event: Event

Deprecated

Inherited from

Window.event

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16790


external

Readonly external: External

Deprecated

Inherited from

Window.external

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16792


frameElement

Readonly frameElement: Element

Inherited from

Window.frameElement

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16793


frames

Readonly frames: Window

Inherited from

Window.frames

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16794


history

Readonly history: History

Inherited from

Window.history

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16795


indexedDB

Readonly indexedDB: IDBFactory

Inherited from

Window.indexedDB

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16961


innerHeight

Readonly innerHeight: number

Inherited from

Window.innerHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16796


innerWidth

Readonly innerWidth: number

Inherited from

Window.innerWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16797


isSecureContext

Readonly isSecureContext: boolean

Inherited from

Window.isSecureContext

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16962


length

Readonly length: number

Inherited from

Window.length

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16798


leo

Optional leo: LeoWallet

Defined in

adapter.ts:48


leoWallet

Optional leoWallet: LeoWallet

Defined in

adapter.ts:47


localStorage

Readonly localStorage: Storage

Inherited from

Window.localStorage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16953


locationbar

Readonly locationbar: BarProp

Returns true if the location bar is visible; otherwise, returns false.

Inherited from

Window.locationbar

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16802


Readonly menubar: BarProp

Returns true if the menu bar is visible; otherwise, returns false.

Inherited from

Window.menubar

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16804


name

name: string

Inherited from

Window.name

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16805


Readonly navigator: Navigator

Inherited from

Window.navigator

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16806


onabort

onabort: (this: GlobalEventHandlers, ev: UIEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user aborts the download.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

UIEvent

The event.

Returns

any

Inherited from

Window.onabort

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5819


onafterprint

onafterprint: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.onafterprint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16928


onanimationcancel

onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

AnimationEvent

Returns

any

Inherited from

Window.onanimationcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5820


onanimationend

onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

AnimationEvent

Returns

any

Inherited from

Window.onanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5821


onanimationiteration

onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

AnimationEvent

Returns

any

Inherited from

Window.onanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5822


onanimationstart

onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

AnimationEvent

Returns

any

Inherited from

Window.onanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5823


onauxclick

onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

MouseEvent

Returns

any

Inherited from

Window.onauxclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5824


onbeforeinput

onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

InputEvent

Returns

any

Inherited from

Window.onbeforeinput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5825


onbeforeprint

onbeforeprint: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.onbeforeprint

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16929


onbeforeunload

onbeforeunload: (this: WindowEventHandlers, ev: BeforeUnloadEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

BeforeUnloadEvent

Returns

any

Inherited from

Window.onbeforeunload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16930


onblur

onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any

Type declaration

▸ (this, ev): any

Fires when the object loses the input focus.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

FocusEvent

The focus event.

Returns

any

Inherited from

Window.onblur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5830


oncancel

oncancel: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.oncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5831


oncanplay

oncanplay: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when playback is possible, but would require further buffering.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.oncanplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5836


oncanplaythrough

oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.oncanplaythrough

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5837


onchange

onchange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Fires when the contents of the object or selection have changed.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5842


onclick

onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user clicks the left mouse button on the object

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5847


onclose

onclose: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onclose

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5848


oncontextmenu

oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user clicks the right mouse button in the client area, opening the context menu.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.oncontextmenu

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5853


oncuechange

oncuechange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.oncuechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5854


ondblclick

ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user double-clicks the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.ondblclick

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5859


ondevicemotion

ondevicemotion: (this: Window, ev: DeviceMotionEvent) => any

Type declaration

▸ (this, ev): any

Available only in secure contexts.

Parameters

NameType

this

Window

ev

DeviceMotionEvent

Returns

any

Inherited from

Window.ondevicemotion

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16808


ondeviceorientation

ondeviceorientation: (this: Window, ev: DeviceOrientationEvent) => any

Type declaration

▸ (this, ev): any

Available only in secure contexts.

Parameters

NameType

this

Window

ev

DeviceOrientationEvent

Returns

any

Inherited from

Window.ondeviceorientation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16810


ondrag

ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the source object continuously during a drag operation.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The event.

Returns

any

Inherited from

Window.ondrag

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5864


ondragend

ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the source object when the user releases the mouse at the close of a drag operation.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The event.

Returns

any

Inherited from

Window.ondragend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5869


ondragenter

ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the target element when the user drags the object to a valid drop target.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The drag event.

Returns

any

Inherited from

Window.ondragenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5874


ondragleave

ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The drag event.

Returns

any

Inherited from

Window.ondragleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5879


ondragover

ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the target element continuously while the user drags the object over a valid drop target.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The event.

Returns

any

Inherited from

Window.ondragover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5884


ondragstart

ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Fires on the source object when the user starts to drag a text selection or selected object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

DragEvent

The event.

Returns

any

Inherited from

Window.ondragstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5889


ondrop

ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

DragEvent

Returns

any

Inherited from

Window.ondrop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5890


ondurationchange

ondurationchange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the duration attribute is updated.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.ondurationchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5895


onemptied

onemptied: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the media element is reset to its initial state.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onemptied

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5900


onended

onended: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the end of playback is reached.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event

Returns

any

Inherited from

Window.onended

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5905


onerror

onerror: OnErrorEventHandlerNonNull

Fires when an error occurs during object loading.

Param

The event.

Inherited from

Window.onerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5910


onfocus

onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any

Type declaration

▸ (this, ev): any

Fires when the object receives focus.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

FocusEvent

The event.

Returns

any

Inherited from

Window.onfocus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5915


onformdata

onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

FormDataEvent

Returns

any

Inherited from

Window.onformdata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5916


ongamepadconnected

ongamepadconnected: (this: WindowEventHandlers, ev: GamepadEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

GamepadEvent

Returns

any

Inherited from

Window.ongamepadconnected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16931


ongamepaddisconnected

ongamepaddisconnected: (this: WindowEventHandlers, ev: GamepadEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

GamepadEvent

Returns

any

Inherited from

Window.ongamepaddisconnected

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16932


ongotpointercapture

ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.ongotpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5917


onhashchange

onhashchange: (this: WindowEventHandlers, ev: HashChangeEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

HashChangeEvent

Returns

any

Inherited from

Window.onhashchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16933


oninput

oninput: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.oninput

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5918


oninvalid

oninvalid: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.oninvalid

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5919


onkeydown

onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user presses a key.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

KeyboardEvent

The keyboard event

Returns

any

Inherited from

Window.onkeydown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5924


onkeypress

onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user presses an alphanumeric key.

Deprecated

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

KeyboardEvent

The event.

Returns

any

Inherited from

Window.onkeypress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5930


onkeyup

onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user releases a key.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

KeyboardEvent

The keyboard event

Returns

any

Inherited from

Window.onkeyup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5935


onlanguagechange

onlanguagechange: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.onlanguagechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16934


onload

onload: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Fires immediately after the browser loads the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5940


onloadeddata

onloadeddata: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when media data is loaded at the current playback position.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onloadeddata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5945


onloadedmetadata

onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the duration and dimensions of the media have been determined.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onloadedmetadata

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5950


onloadstart

onloadstart: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when Internet Explorer begins looking for media data.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onloadstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5955


onlostpointercapture

onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onlostpointercapture

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5956


onmessage

onmessage: (this: WindowEventHandlers, ev: MessageEvent<any>) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

MessageEvent<any>

Returns

any

Inherited from

Window.onmessage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16935


onmessageerror

onmessageerror: (this: WindowEventHandlers, ev: MessageEvent<any>) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

MessageEvent<any>

Returns

any

Inherited from

Window.onmessageerror

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16936


onmousedown

onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user clicks the object with either mouse button.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onmousedown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5961


onmouseenter

onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

MouseEvent

Returns

any

Inherited from

Window.onmouseenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5962


onmouseleave

onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

MouseEvent

Returns

any

Inherited from

Window.onmouseleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5963


onmousemove

onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user moves the mouse over the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onmousemove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5968


onmouseout

onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user moves the mouse pointer outside the boundaries of the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onmouseout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5973


onmouseover

onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user moves the mouse pointer into the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onmouseover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5978


onmouseup

onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any

Type declaration

▸ (this, ev): any

Fires when the user releases a mouse button while the mouse is over the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

MouseEvent

The mouse event.

Returns

any

Inherited from

Window.onmouseup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5983


onoffline

onoffline: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.onoffline

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16937


ononline

ononline: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.ononline

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16938


onorientationchange

onorientationchange: (this: Window, ev: Event) => any

Type declaration

▸ (this, ev): any

Deprecated

Parameters

NameType

this

Window

ev

Event

Returns

any

Inherited from

Window.onorientationchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16812


onpagehide

onpagehide: (this: WindowEventHandlers, ev: PageTransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

PageTransitionEvent

Returns

any

Inherited from

Window.onpagehide

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16939


onpageshow

onpageshow: (this: WindowEventHandlers, ev: PageTransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

PageTransitionEvent

Returns

any

Inherited from

Window.onpageshow

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16940


onpause

onpause: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when playback is paused.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onpause

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5988


onplay

onplay: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the play method is requested.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onplay

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5993


onplaying

onplaying: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the audio or video has started playing.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onplaying

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5998


onpointercancel

onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointercancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5999


onpointerdown

onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerdown

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6000


onpointerenter

onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerenter

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6001


onpointerleave

onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerleave

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6002


onpointermove

onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointermove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6003


onpointerout

onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6004


onpointerover

onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerover

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6005


onpointerup

onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

PointerEvent

Returns

any

Inherited from

Window.onpointerup

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6006


onpopstate

onpopstate: (this: WindowEventHandlers, ev: PopStateEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

PopStateEvent

Returns

any

Inherited from

Window.onpopstate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16941


onprogress

onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any

Type declaration

▸ (this, ev): any

Occurs to indicate progress while downloading media data.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

ProgressEvent<EventTarget>

The event.

Returns

any

Inherited from

Window.onprogress

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6011


onratechange

onratechange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the playback rate is increased or decreased.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onratechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6016


onrejectionhandled

onrejectionhandled: (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

PromiseRejectionEvent

Returns

any

Inherited from

Window.onrejectionhandled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16942


onreset

onreset: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Fires when the user resets a form.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onreset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6021


onresize

onresize: (this: GlobalEventHandlers, ev: UIEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

UIEvent

Returns

any

Inherited from

Window.onresize

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6022


onscroll

onscroll: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Fires when the user repositions the scroll box in the scroll bar on the object.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onscroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6027


onsecuritypolicyviolation

onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

SecurityPolicyViolationEvent

Returns

any

Inherited from

Window.onsecuritypolicyviolation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6028


onseeked

onseeked: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the seek operation ends.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onseeked

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6033


onseeking

onseeking: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the current playback position is moved.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onseeking

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6038


onselect

onselect: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Fires when the current selection changes.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onselect

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6043


onselectionchange

onselectionchange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onselectionchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6044


onselectstart

onselectstart: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onselectstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6045


onslotchange

onslotchange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onslotchange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6046


onstalled

onstalled: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the download has stopped.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onstalled

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6051


onstorage

onstorage: (this: WindowEventHandlers, ev: StorageEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

StorageEvent

Returns

any

Inherited from

Window.onstorage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16943


onsubmit

onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

SubmitEvent

Returns

any

Inherited from

Window.onsubmit

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6052


onsuspend

onsuspend: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs if the load operation has been intentionally halted.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onsuspend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6057


ontimeupdate

ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs to indicate the current playback position.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.ontimeupdate

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6062


ontoggle

ontoggle: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.ontoggle

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6063


ontouchcancel

Optional ontouchcancel: (this: GlobalEventHandlers, ev: TouchEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TouchEvent

Returns

any

Inherited from

Window.ontouchcancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6064


ontouchend

Optional ontouchend: (this: GlobalEventHandlers, ev: TouchEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TouchEvent

Returns

any

Inherited from

Window.ontouchend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6065


ontouchmove

Optional ontouchmove: (this: GlobalEventHandlers, ev: TouchEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TouchEvent

Returns

any

Inherited from

Window.ontouchmove

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6066


ontouchstart

Optional ontouchstart: (this: GlobalEventHandlers, ev: TouchEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TouchEvent

Returns

any

Inherited from

Window.ontouchstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6067


ontransitioncancel

ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TransitionEvent

Returns

any

Inherited from

Window.ontransitioncancel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6068


ontransitionend

ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TransitionEvent

Returns

any

Inherited from

Window.ontransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6069


ontransitionrun

ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TransitionEvent

Returns

any

Inherited from

Window.ontransitionrun

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6070


ontransitionstart

ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

TransitionEvent

Returns

any

Inherited from

Window.ontransitionstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6071


onunhandledrejection

onunhandledrejection: (this: WindowEventHandlers, ev: PromiseRejectionEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

PromiseRejectionEvent

Returns

any

Inherited from

Window.onunhandledrejection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16944


onunload

onunload: (this: WindowEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

WindowEventHandlers

ev

Event

Returns

any

Inherited from

Window.onunload

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16945


onvolumechange

onvolumechange: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when the volume is changed, or playback is muted or unmuted.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onvolumechange

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6076


onwaiting

onwaiting: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Occurs when playback stops because the next frame of a video resource is not available.

Parameters

NameTypeDescription

this

GlobalEventHandlers

-

ev

Event

The event.

Returns

any

Inherited from

Window.onwaiting

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6081


onwebkitanimationend

onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Deprecated

This is a legacy alias of onanimationend.

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onwebkitanimationend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6083


onwebkitanimationiteration

onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Deprecated

This is a legacy alias of onanimationiteration.

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onwebkitanimationiteration

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6085


onwebkitanimationstart

onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Deprecated

This is a legacy alias of onanimationstart.

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onwebkitanimationstart

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6087


onwebkittransitionend

onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any

Type declaration

▸ (this, ev): any

Deprecated

This is a legacy alias of ontransitionend.

Parameters

NameType

this

GlobalEventHandlers

ev

Event

Returns

any

Inherited from

Window.onwebkittransitionend

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6089


onwheel

onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any

Type declaration

▸ (this, ev): any

Parameters

NameType

this

GlobalEventHandlers

ev

WheelEvent

Returns

any

Inherited from

Window.onwheel

Defined in

node_modules/typescript/lib/lib.dom.d.ts:6090


opener

opener: any

Inherited from

Window.opener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16813


orientation

Readonly orientation: number

Deprecated

Inherited from

Window.orientation

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16815


origin

Readonly origin: string

Inherited from

Window.origin

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16963


outerHeight

Readonly outerHeight: number

Inherited from

Window.outerHeight

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16816


outerWidth

Readonly outerWidth: number

Inherited from

Window.outerWidth

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16817


pageXOffset

Readonly pageXOffset: number

Deprecated

This is a legacy alias of scrollX.

Inherited from

Window.pageXOffset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16819


pageYOffset

Readonly pageYOffset: number

Deprecated

This is a legacy alias of scrollY.

Inherited from

Window.pageYOffset

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16821


parent

Readonly parent: 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.

Inherited from

Window.parent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16827


performance

Readonly performance: Performance

Inherited from

Window.performance

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16964


personalbar

Readonly personalbar: BarProp

Returns true if the personal bar is visible; otherwise, returns false.

Inherited from

Window.personalbar

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16829


screen

Readonly screen: Screen

Inherited from

Window.screen

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16830


screenLeft

Readonly screenLeft: number

Inherited from

Window.screenLeft

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16831


screenTop

Readonly screenTop: number

Inherited from

Window.screenTop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16832


screenX

Readonly screenX: number

Inherited from

Window.screenX

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16833


screenY

Readonly screenY: number

Inherited from

Window.screenY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16834


scrollX

Readonly scrollX: number

Inherited from

Window.scrollX

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16835


scrollY

Readonly scrollY: number

Inherited from

Window.scrollY

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16836


scrollbars

Readonly scrollbars: BarProp

Returns true if the scrollbars are visible; otherwise, returns false.

Inherited from

Window.scrollbars

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16838


self

Readonly self: Window & typeof globalThis

Inherited from

Window.self

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16839


sessionStorage

Readonly sessionStorage: Storage

Inherited from

Window.sessionStorage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16980


speechSynthesis

Readonly speechSynthesis: SpeechSynthesis

Inherited from

Window.speechSynthesis

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16840


status

status: string

Deprecated

Inherited from

Window.status

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16842


statusbar

Readonly statusbar: BarProp

Returns true if the status bar is visible; otherwise, returns false.

Inherited from

Window.statusbar

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16844


toolbar

Readonly toolbar: BarProp

Returns true if the toolbar is visible; otherwise, returns false.

Inherited from

Window.toolbar

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16846


top

Readonly top: Window

Inherited from

Window.top

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16847


visualViewport

Readonly visualViewport: VisualViewport

Inherited from

Window.visualViewport

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16848


window

Readonly window: Window & typeof globalThis

Inherited from

Window.window

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16849

Accessors

location

get location(): Location

Returns

Location

Inherited from

Window.location

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16799

set location(href): void

Parameters

NameType

href

string | Location

Returns

void

Inherited from

Window.location

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16800

Methods

addEventListener

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

Type parameters

NameType

K

extends keyof WindowEventMap

Parameters

NameType

type

K

listener

(this: Window, ev: WindowEventMap[K]) => any

options?

boolean | AddEventListenerOptions

Returns

void

Inherited from

Window.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16894

addEventListener(type, listener, options?): void

Parameters

NameType

type

string

listener

EventListenerOrEventListenerObject

options?

boolean | AddEventListenerOptions

Returns

void

Inherited from

Window.addEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16895


alert

alert(message?): void

Parameters

NameType

message?

any

Returns

void

Inherited from

Window.alert

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16850


atob

atob(data): string

Parameters

NameType

data

string

Returns

string

Inherited from

Window.atob

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16965


blur

blur(): void

Returns

void

Inherited from

Window.blur

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16851


btoa

btoa(data): string

Parameters

NameType

data

string

Returns

string

Inherited from

Window.btoa

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16966


cancelAnimationFrame

cancelAnimationFrame(handle): void

Parameters

NameType

handle

number

Returns

void

Inherited from

Window.cancelAnimationFrame

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2195


cancelIdleCallback

cancelIdleCallback(handle): void

Parameters

NameType

handle

number

Returns

void

Inherited from

Window.cancelIdleCallback

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16852


captureEvents

captureEvents(): void

Deprecated

Returns

void

Inherited from

Window.captureEvents

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16854


clearInterval

clearInterval(id): void

Parameters

NameType

id

number

Returns

void

Inherited from

Window.clearInterval

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16967


clearTimeout

clearTimeout(id): void

Parameters

NameType

id

number

Returns

void

Inherited from

Window.clearTimeout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16968


close

close(): void

Closes the window.

Returns

void

Inherited from

Window.close

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16856


confirm

confirm(message?): boolean

Parameters

NameType

message?

string

Returns

boolean

Inherited from

Window.confirm

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16857


createImageBitmap

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

Parameters

NameType

image

ImageBitmapSource

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

Window.createImageBitmap

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16969

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

Parameters

NameType

image

ImageBitmapSource

sx

number

sy

number

sw

number

sh

number

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

Window.createImageBitmap

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16970


dispatchEvent

dispatchEvent(event): boolean

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

NameType

event

Event

Returns

boolean

Inherited from

Window.dispatchEvent

Defined in

node_modules/typescript/lib/lib.dom.d.ts:5309


fetch

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

Parameters

NameType

input

RequestInfo | URL

init?

RequestInit

Returns

Promise<Response>

Inherited from

Window.fetch

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16971


focus

focus(): void

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

Returns

void

Inherited from

Window.focus

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16859


getComputedStyle

getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration

Parameters

NameType

elt

Element

pseudoElt?

string

Returns

CSSStyleDeclaration

Inherited from

Window.getComputedStyle

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16860


getSelection

getSelection(): Selection

Returns

Selection

Inherited from

Window.getSelection

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16861


matchMedia

matchMedia(query): MediaQueryList

Parameters

NameType

query

string

Returns

MediaQueryList

Inherited from

Window.matchMedia

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16862


moveBy

moveBy(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.moveBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16863


moveTo

moveTo(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.moveTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16864


open

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

Parameters

NameType

url?

string | URL

target?

string

features?

string

Returns

Window

Inherited from

Window.open

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16865


postMessage

postMessage(message, targetOrigin, transfer?): void

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

NameType

message

any

targetOrigin

string

transfer?

Transferable[]

Returns

void

Inherited from

Window.postMessage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16877

postMessage(message, options?): void

Parameters

NameType

message

any

options?

WindowPostMessageOptions

Returns

void

Inherited from

Window.postMessage

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16878


print

print(): void

Returns

void

Inherited from

Window.print

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16879


prompt

prompt(message?, _default?): string

Parameters

NameType

message?

string

_default?

string

Returns

string

Inherited from

Window.prompt

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16880


queueMicrotask

queueMicrotask(callback): void

Parameters

NameType

callback

VoidFunction

Returns

void

Inherited from

Window.queueMicrotask

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16972


releaseEvents

releaseEvents(): void

Deprecated

Returns

void

Inherited from

Window.releaseEvents

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16882


removeEventListener

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

Type parameters

NameType

K

extends keyof WindowEventMap

Parameters

NameType

type

K

listener

(this: Window, ev: WindowEventMap[K]) => any

options?

boolean | EventListenerOptions

Returns

void

Inherited from

Window.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16896

removeEventListener(type, listener, options?): void

Parameters

NameType

type

string

listener

EventListenerOrEventListenerObject

options?

boolean | EventListenerOptions

Returns

void

Inherited from

Window.removeEventListener

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16897


reportError

reportError(e): void

Parameters

NameType

e

any

Returns

void

Inherited from

Window.reportError

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16973


requestAnimationFrame

requestAnimationFrame(callback): number

Parameters

NameType

callback

FrameRequestCallback

Returns

number

Inherited from

Window.requestAnimationFrame

Defined in

node_modules/typescript/lib/lib.dom.d.ts:2196


requestIdleCallback

requestIdleCallback(callback, options?): number

Parameters

NameType

callback

IdleRequestCallback

options?

IdleRequestOptions

Returns

number

Inherited from

Window.requestIdleCallback

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16883


resizeBy

resizeBy(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.resizeBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16884


resizeTo

resizeTo(width, height): void

Parameters

NameType

width

number

height

number

Returns

void

Inherited from

Window.resizeTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16885


scroll

scroll(options?): void

Parameters

NameType

options?

ScrollToOptions

Returns

void

Inherited from

Window.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16886

scroll(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.scroll

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16887


scrollBy

scrollBy(options?): void

Parameters

NameType

options?

ScrollToOptions

Returns

void

Inherited from

Window.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16888

scrollBy(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.scrollBy

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16889


scrollTo

scrollTo(options?): void

Parameters

NameType

options?

ScrollToOptions

Returns

void

Inherited from

Window.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16890

scrollTo(x, y): void

Parameters

NameType

x

number

y

number

Returns

void

Inherited from

Window.scrollTo

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16891


setInterval

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

Parameters

NameType

handler

TimerHandler

timeout?

number

...arguments

any[]

Returns

number

Inherited from

Window.setInterval

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16974


setTimeout

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

Parameters

NameType

handler

TimerHandler

timeout?

number

...arguments

any[]

Returns

number

Inherited from

Window.setTimeout

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16975


stop

stop(): void

Cancels the document load.

Returns

void

Inherited from

Window.stop

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16893


structuredClone

structuredClone(value, options?): any

Parameters

NameType

value

any

options?

StructuredSerializeOptions

Returns

any

Inherited from

Window.structuredClone

Defined in

node_modules/typescript/lib/lib.dom.d.ts:16976

Last updated