Skip to main content

Interface: WalletEventsWindow

Global window type for dispatching and listening for WindowAppReadyEvent and WindowRegisterWalletEvent.

import { WalletEventsWindow } from '@wallet-standard/base';

declare const window: WalletEventsWindow;
// OR
(window as WalletEventsWindow)

Extends

  • Omit<Window, "addEventListener" | "dispatchEvent">

Indexable

[key: number]: Window

Properties

onabort

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

Fires when the user aborts the download.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onabort


onanimationcancel

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onanimationcancel


onanimationend

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onanimationend


onanimationiteration

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onanimationiteration


onanimationstart

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onanimationstart


onauxclick

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onauxclick


onbeforeinput

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onbeforeinput


onbeforetoggle

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onbeforetoggle


onblur

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

Fires when the object loses the input focus.

Param

The focus event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onblur


oncancel

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncancel


oncanplay

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncanplay


oncanplaythrough

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncanplaythrough


onchange

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onchange


onclick

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onclick


onclose

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onclose


oncontextlost

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncontextlost


oncontextmenu

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncontextmenu


oncontextrestored

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncontextrestored


oncopy

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncopy


oncuechange

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncuechange


oncut

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oncut


ondblclick

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

Fires when the user double-clicks the object.

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondblclick


ondrag

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

Fires on the source object continuously during a drag operation.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondrag


ondragend

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondragend


ondragenter

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

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

Param

The drag event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondragenter


ondragleave

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

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

Param

The drag event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondragleave


ondragover

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondragover


ondragstart

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondragstart


ondrop

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondrop


ondurationchange

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

Occurs when the duration attribute is updated.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondurationchange


onemptied

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onemptied


onended

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

Occurs when the end of playback is reached.

Param

The event

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onended


onerror

onerror: OnErrorEventHandler

Fires when an error occurs during object loading.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onerror


onfocus

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

Fires when the object receives focus.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onfocus


onformdata

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onformdata


ongotpointercapture

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ongotpointercapture


oninput

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oninput


oninvalid

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.oninvalid


onkeydown

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

Fires when the user presses a key.

Param

The keyboard event

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onkeydown


onkeypress

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

Fires when the user presses an alphanumeric key.

Param

The event.

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onkeypress


onkeyup

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

Fires when the user releases a key.

Param

The keyboard event

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onkeyup


onload

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

Fires immediately after the browser loads the object.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onload


onloadeddata

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onloadeddata


onloadedmetadata

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onloadedmetadata


onloadstart

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

Occurs when Internet Explorer begins looking for media data.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onloadstart


onlostpointercapture

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onlostpointercapture


onmousedown

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmousedown


onmouseenter

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmouseenter


onmouseleave

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmouseleave


onmousemove

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

Fires when the user moves the mouse over the object.

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmousemove


onmouseout

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmouseout


onmouseover

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmouseover


onmouseup

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

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

Param

The mouse event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmouseup


onpaste

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpaste


onpause

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

Occurs when playback is paused.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpause


onplay

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

Occurs when the play method is requested.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onplay


onplaying

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

Occurs when the audio or video has started playing.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onplaying


onpointercancel

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointercancel


onpointerdown

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerdown


onpointerenter

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerenter


onpointerleave

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerleave


onpointermove

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointermove


onpointerout

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerout


onpointerover

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerover


onpointerup

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpointerup


onprogress

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

Occurs to indicate progress while downloading media data.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onprogress


onratechange

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

Occurs when the playback rate is increased or decreased.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onratechange


onreset

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

Fires when the user resets a form.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onreset


onresize

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onresize


onscroll

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onscroll


onscrollend

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onscrollend


onsecuritypolicyviolation

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onsecuritypolicyviolation


onseeked

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

Occurs when the seek operation ends.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onseeked


onseeking

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

Occurs when the current playback position is moved.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onseeking


onselect

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

Fires when the current selection changes.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onselect


onselectionchange

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onselectionchange


onselectstart

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onselectstart


onslotchange

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onslotchange


onstalled

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

Occurs when the download has stopped.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onstalled


onsubmit

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onsubmit


onsuspend

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

Occurs if the load operation has been intentionally halted.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onsuspend


ontimeupdate

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

Occurs to indicate the current playback position.

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontimeupdate


ontoggle

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontoggle


ontouchcancel?

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontouchcancel


ontouchend?

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontouchend


ontouchmove?

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontouchmove


ontouchstart?

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontouchstart


ontransitioncancel

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontransitioncancel


ontransitionend

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontransitionend


ontransitionrun

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontransitionrun


ontransitionstart

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ontransitionstart


onvolumechange

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onvolumechange


onwaiting

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

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

Param

The event.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwaiting


onwebkitanimationend

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

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwebkitanimationend


onwebkitanimationiteration

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

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwebkitanimationiteration


onwebkitanimationstart

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

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwebkitanimationstart


onwebkittransitionend

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

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwebkittransitionend


onwheel

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onwheel


clientInformation

readonly clientInformation: Navigator

Deprecated

This is a legacy alias of navigator.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.clientInformation


closed

readonly closed: boolean

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.closed


customElements

readonly customElements: CustomElementRegistry

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.customElements


devicePixelRatio

readonly devicePixelRatio: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.devicePixelRatio


document

readonly document: Document

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.document


event

readonly event: Event | undefined

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.event


external

readonly external: External

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.external


frameElement

readonly frameElement: Element | null

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.frameElement


frames

readonly frames: Window

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.frames


history

readonly history: History

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.history


innerHeight

readonly innerHeight: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.innerHeight


innerWidth

readonly innerWidth: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.innerWidth


length

readonly length: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.length


location

location: Location

Inherited from

DEPRECATED_WalletsWindow.location


locationbar

readonly locationbar: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.locationbar


readonly menubar: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.menubar


name

name: string

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.name


readonly navigator: Navigator

MDN Reference

Inherited from

Omit.navigator


ondevicemotion

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

Available only in secure contexts.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondevicemotion


ondeviceorientation

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

Available only in secure contexts.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondeviceorientation


ondeviceorientationabsolute

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

Available only in secure contexts.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ondeviceorientationabsolute


onorientationchange

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

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onorientationchange


opener

opener: any

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.opener


orientation

readonly orientation: number

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.orientation


outerHeight

readonly outerHeight: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.outerHeight


outerWidth

readonly outerWidth: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.outerWidth


pageXOffset

readonly pageXOffset: number

Deprecated

This is a legacy alias of scrollX.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.pageXOffset


pageYOffset

readonly pageYOffset: number

Deprecated

This is a legacy alias of scrollY.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.pageYOffset


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.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.parent


personalbar

readonly personalbar: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.personalbar


screen

readonly screen: Screen

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.screen


screenLeft

readonly screenLeft: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.screenLeft


screenTop

readonly screenTop: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.screenTop


screenX

readonly screenX: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.screenX


screenY

readonly screenY: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.screenY


scrollX

readonly scrollX: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.scrollX


scrollY

readonly scrollY: number

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.scrollY


scrollbars

readonly scrollbars: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.scrollbars


self

readonly self: Window & typeof globalThis

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.self


speechSynthesis

readonly speechSynthesis: SpeechSynthesis

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.speechSynthesis


status

status: string

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.status


statusbar

readonly statusbar: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.statusbar


toolbar

readonly toolbar: BarProp

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.toolbar


top

readonly top: Window | null

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.top


visualViewport

readonly visualViewport: VisualViewport | null

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.visualViewport


window

readonly window: Window & typeof globalThis

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.window


onafterprint

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onafterprint


onbeforeprint

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onbeforeprint


onbeforeunload

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onbeforeunload


ongamepadconnected

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ongamepadconnected


ongamepaddisconnected

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ongamepaddisconnected


onhashchange

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onhashchange


onlanguagechange

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onlanguagechange


onmessage

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmessage


onmessageerror

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onmessageerror


onoffline

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onoffline


ononline

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.ononline


onpagehide

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpagehide


onpageshow

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpageshow


onpopstate

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onpopstate


onrejectionhandled

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onrejectionhandled


onstorage

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onstorage


onunhandledrejection

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

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onunhandledrejection


onunload

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

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.onunload


localStorage

readonly localStorage: Storage

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.localStorage


caches

readonly caches: CacheStorage

Available only in secure contexts.

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.caches


crossOriginIsolated

readonly crossOriginIsolated: boolean

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.crossOriginIsolated


crypto

readonly crypto: Crypto

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.crypto


indexedDB

readonly indexedDB: IDBFactory

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.indexedDB


isSecureContext

readonly isSecureContext: boolean

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.isSecureContext


origin

readonly origin: string

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.origin


performance

readonly performance: Performance

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.performance


sessionStorage

readonly sessionStorage: Storage

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.sessionStorage

Methods

addEventListener()

Call Signature

addEventListener(type, listener): void

Add a listener for WindowAppReadyEvent.

Parameters
type

"wallet-standard:app-ready"

listener

(event) => void

Returns

void

Call Signature

addEventListener(type, listener): void

Add a listener for WindowRegisterWalletEvent.

Parameters
type

"wallet-standard:register-wallet"

listener

(event) => void

Returns

void


dispatchEvent()

Call Signature

dispatchEvent(event): void

Dispatch a WindowAppReadyEvent.

Parameters
event

WindowAppReadyEvent

Returns

void

Call Signature

dispatchEvent(event): void

Dispatch a WindowRegisterWalletEvent.

Parameters
event

WindowRegisterWalletEvent

Returns

void


cancelAnimationFrame()

cancelAnimationFrame(handle): void

MDN Reference

Parameters

handle

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.cancelAnimationFrame


requestAnimationFrame()

requestAnimationFrame(callback): number

MDN Reference

Parameters

callback

FrameRequestCallback

Returns

number

Inherited from

DEPRECATED_WalletsWindow.requestAnimationFrame


alert()

alert(message?): void

MDN Reference

Parameters

message?

any

Returns

void

Inherited from

DEPRECATED_WalletsWindow.alert


blur()

blur(): void

Returns

void

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.blur


cancelIdleCallback()

cancelIdleCallback(handle): void

MDN Reference

Parameters

handle

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.cancelIdleCallback


captureEvents()

captureEvents(): void

Returns

void

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.captureEvents


close()

close(): void

Closes the window.

MDN Reference

Returns

void

Inherited from

DEPRECATED_WalletsWindow.close


confirm()

confirm(message?): boolean

MDN Reference

Parameters

message?

string

Returns

boolean

Inherited from

DEPRECATED_WalletsWindow.confirm


focus()

focus(): void

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

MDN Reference

Returns

void

Inherited from

DEPRECATED_WalletsWindow.focus


getComputedStyle()

getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration

MDN Reference

Parameters

elt

Element

pseudoElt?

string | null

Returns

CSSStyleDeclaration

Inherited from

DEPRECATED_WalletsWindow.getComputedStyle


getSelection()

getSelection(): Selection | null

MDN Reference

Returns

Selection | null

Inherited from

DEPRECATED_WalletsWindow.getSelection


matchMedia()

matchMedia(query): MediaQueryList

MDN Reference

Parameters

query

string

Returns

MediaQueryList

Inherited from

DEPRECATED_WalletsWindow.matchMedia


moveBy()

moveBy(x, y): void

MDN Reference

Parameters

x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.moveBy


moveTo()

moveTo(x, y): void

MDN Reference

Parameters

x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.moveTo


open()

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

MDN Reference

Parameters

url?

string | URL

target?

string

features?

string

Returns

Window | null

Inherited from

DEPRECATED_WalletsWindow.open


postMessage()

Call Signature

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.

MDN Reference

Parameters
message

any

targetOrigin

string

transfer?

Transferable[]

Returns

void

Inherited from

DEPRECATED_WalletsWindow.postMessage

Call Signature

postMessage(message, options?): void

Parameters
message

any

options?

WindowPostMessageOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.postMessage


print()

print(): void

MDN Reference

Returns

void

Inherited from

DEPRECATED_WalletsWindow.print


prompt()

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

MDN Reference

Parameters

message?

string

_default?

string

Returns

string | null

Inherited from

DEPRECATED_WalletsWindow.prompt


releaseEvents()

releaseEvents(): void

Returns

void

Deprecated

MDN Reference

Inherited from

DEPRECATED_WalletsWindow.releaseEvents


requestIdleCallback()

requestIdleCallback(callback, options?): number

MDN Reference

Parameters

callback

IdleRequestCallback

options?

IdleRequestOptions

Returns

number

Inherited from

DEPRECATED_WalletsWindow.requestIdleCallback


resizeBy()

resizeBy(x, y): void

MDN Reference

Parameters

x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.resizeBy


resizeTo()

resizeTo(width, height): void

MDN Reference

Parameters

width

number

height

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.resizeTo


scroll()

Call Signature

scroll(options?): void

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scroll

Call Signature

scroll(x, y): void

Parameters
x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scroll


scrollBy()

Call Signature

scrollBy(options?): void

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scrollBy

Call Signature

scrollBy(x, y): void

Parameters
x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scrollBy


scrollTo()

Call Signature

scrollTo(options?): void

MDN Reference

Parameters
options?

ScrollToOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scrollTo

Call Signature

scrollTo(x, y): void

Parameters
x

number

y

number

Returns

void

Inherited from

DEPRECATED_WalletsWindow.scrollTo


stop()

stop(): void

Cancels the document load.

MDN Reference

Returns

void

Inherited from

DEPRECATED_WalletsWindow.stop


removeEventListener()

Call Signature

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

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

MDN Reference

Type Parameters
K

K extends keyof WindowEventMap

Parameters
type

K

listener

(this, ev) => any

options?

boolean | EventListenerOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.removeEventListener

Call Signature

removeEventListener(type, listener, options?): void

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

MDN Reference

Parameters
type

string

listener

EventListenerOrEventListenerObject

options?

boolean | EventListenerOptions

Returns

void

Inherited from

DEPRECATED_WalletsWindow.removeEventListener


atob()

atob(data): string

MDN Reference

Parameters

data

string

Returns

string

Inherited from

DEPRECATED_WalletsWindow.atob


btoa()

btoa(data): string

MDN Reference

Parameters

data

string

Returns

string

Inherited from

DEPRECATED_WalletsWindow.btoa


clearInterval()

clearInterval(id): void

MDN Reference

Parameters

id

number | undefined

Returns

void

Inherited from

DEPRECATED_WalletsWindow.clearInterval


clearTimeout()

clearTimeout(id): void

MDN Reference

Parameters

id

number | undefined

Returns

void

Inherited from

DEPRECATED_WalletsWindow.clearTimeout


createImageBitmap()

Call Signature

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

MDN Reference

Parameters
image

ImageBitmapSource

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

DEPRECATED_WalletsWindow.createImageBitmap

Call Signature

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

Parameters
image

ImageBitmapSource

sx

number

sy

number

sw

number

sh

number

options?

ImageBitmapOptions

Returns

Promise<ImageBitmap>

Inherited from

DEPRECATED_WalletsWindow.createImageBitmap


fetch()

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

MDN Reference

Parameters

input

URL | RequestInfo

init?

RequestInit

Returns

Promise<Response>

Inherited from

DEPRECATED_WalletsWindow.fetch


queueMicrotask()

queueMicrotask(callback): void

MDN Reference

Parameters

callback

VoidFunction

Returns

void

Inherited from

DEPRECATED_WalletsWindow.queueMicrotask


reportError()

reportError(e): void

MDN Reference

Parameters

e

any

Returns

void

Inherited from

DEPRECATED_WalletsWindow.reportError


setInterval()

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

MDN Reference

Parameters

handler

TimerHandler

timeout?

number

arguments

...any[]

Returns

number

Inherited from

DEPRECATED_WalletsWindow.setInterval


setTimeout()

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

MDN Reference

Parameters

handler

TimerHandler

timeout?

number

arguments

...any[]

Returns

number

Inherited from

DEPRECATED_WalletsWindow.setTimeout


structuredClone()

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

MDN Reference

Type Parameters

T

T = any

Parameters

value

T

options?

StructuredSerializeOptions

Returns

T

Inherited from

DEPRECATED_WalletsWindow.structuredClone