Interface: DEPRECATED_WalletsWindow
Deprecated
Use WalletEventsWindow instead.
Extends
Window
Indexable
[index: number]: Window
Properties
navigator
navigator:
DEPRECATED_WalletsNavigator
Overrides
Window.navigator
onabort
onabort: (
this,ev) =>any|null
Fires when the user aborts the download.
Param
The event.
Inherited from
Window.onabort
onanimationcancel
onanimationcancel: (
this,ev) =>any|null
Inherited from
Window.onanimationcancel
onanimationend
onanimationend: (
this,ev) =>any|null
Inherited from
Window.onanimationend
onanimationiteration
onanimationiteration: (
this,ev) =>any|null
Inherited from
Window.onanimationiteration
onanimationstart
onanimationstart: (
this,ev) =>any|null
Inherited from
Window.onanimationstart
onauxclick
onauxclick: (
this,ev) =>any|null
Inherited from
Window.onauxclick
onbeforeinput
onbeforeinput: (
this,ev) =>any|null
Inherited from
Window.onbeforeinput
onbeforetoggle
onbeforetoggle: (
this,ev) =>any|null
Inherited from
Window.onbeforetoggle
onblur
onblur: (
this,ev) =>any|null
Fires when the object loses the input focus.
Param
The focus event.
Inherited from
Window.onblur
oncancel
oncancel: (
this,ev) =>any|null
Inherited from
Window.oncancel
oncanplay
oncanplay: (
this,ev) =>any|null
Occurs when playback is possible, but would require further buffering.
Param
The event.
Inherited from
Window.oncanplay
oncanplaythrough
oncanplaythrough: (
this,ev) =>any|null
Inherited from
Window.oncanplaythrough
onchange
onchange: (
this,ev) =>any|null
Fires when the contents of the object or selection have changed.
Param
The event.
Inherited from
Window.onchange
onclick
onclick: (
this,ev) =>any|null
Fires when the user clicks the left mouse button on the object
Param
The mouse event.
Inherited from
Window.onclick
onclose
onclose: (
this,ev) =>any|null
Inherited from
Window.onclose
oncontextlost
oncontextlost: (
this,ev) =>any|null
Inherited from
Window.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.
Inherited from
Window.oncontextmenu
oncontextrestored
oncontextrestored: (
this,ev) =>any|null
Inherited from
Window.oncontextrestored
oncopy
oncopy: (
this,ev) =>any|null
Inherited from
Window.oncopy
oncuechange
oncuechange: (
this,ev) =>any|null
Inherited from
Window.oncuechange
oncut
oncut: (
this,ev) =>any|null
Inherited from
Window.oncut
ondblclick
ondblclick: (
this,ev) =>any|null
Fires when the user double-clicks the object.
Param
The mouse event.
Inherited from
Window.ondblclick
ondrag
ondrag: (
this,ev) =>any|null
Fires on the source object continuously during a drag operation.
Param
The event.
Inherited from
Window.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.
Inherited from
Window.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.
Inherited from
Window.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.
Inherited from
Window.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.
Inherited from
Window.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.
Inherited from
Window.ondragstart
ondrop
ondrop: (
this,ev) =>any|null
Inherited from
Window.ondrop
ondurationchange
ondurationchange: (
this,ev) =>any|null
Occurs when the duration attribute is updated.
Param
The event.
Inherited from
Window.ondurationchange
onemptied
onemptied: (
this,ev) =>any|null
Occurs when the media element is reset to its initial state.
Param
The event.
Inherited from
Window.onemptied
onended
onended: (
this,ev) =>any|null
Occurs when the end of playback is reached.
Param
The event
Inherited from
Window.onended
onerror
onerror:
OnErrorEventHandler
Fires when an error occurs during object loading.
Param
The event.
Inherited from
Window.onerror
onfocus
onfocus: (
this,ev) =>any|null
Fires when the object receives focus.
Param
The event.
Inherited from
Window.onfocus
onformdata
onformdata: (
this,ev) =>any|null
Inherited from
Window.onformdata
ongotpointercapture
ongotpointercapture: (
this,ev) =>any|null
Inherited from
Window.ongotpointercapture
oninput
oninput: (
this,ev) =>any|null
Inherited from
Window.oninput
oninvalid
oninvalid: (
this,ev) =>any|null
Inherited from
Window.oninvalid
onkeydown
onkeydown: (
this,ev) =>any|null
Fires when the user presses a key.
Param
The keyboard event
Inherited from
Window.onkeydown
onkeypress
onkeypress: (
this,ev) =>any|null
Fires when the user presses an alphanumeric key.
Param
The event.
Deprecated
Inherited from
Window.onkeypress
onkeyup
onkeyup: (
this,ev) =>any|null
Fires when the user releases a key.
Param
The keyboard event
Inherited from
Window.onkeyup
onload
onload: (
this,ev) =>any|null
Fires immediately after the browser loads the object.
Param
The event.
Inherited from
Window.onload
onloadeddata
onloadeddata: (
this,ev) =>any|null
Occurs when media data is loaded at the current playback position.
Param
The event.
Inherited from
Window.onloadeddata
onloadedmetadata
onloadedmetadata: (
this,ev) =>any|null
Occurs when the duration and dimensions of the media have been determined.
Param
The event.
Inherited from
Window.onloadedmetadata
onloadstart
onloadstart: (
this,ev) =>any|null
Occurs when Internet Explorer begins looking for media data.
Param
The event.
Inherited from
Window.onloadstart
onlostpointercapture
onlostpointercapture: (
this,ev) =>any|null
Inherited from
Window.onlostpointercapture
onmousedown
onmousedown: (
this,ev) =>any|null
Fires when the user clicks the object with either mouse button.
Param
The mouse event.
Inherited from
Window.onmousedown
onmouseenter
onmouseenter: (
this,ev) =>any|null
Inherited from
Window.onmouseenter
onmouseleave
onmouseleave: (
this,ev) =>any|null
Inherited from
Window.onmouseleave
onmousemove
onmousemove: (
this,ev) =>any|null
Fires when the user moves the mouse over the object.
Param
The mouse event.
Inherited from
Window.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.
Inherited from
Window.onmouseout
onmouseover
onmouseover: (
this,ev) =>any|null
Fires when the user moves the mouse pointer into the object.
Param
The mouse event.
Inherited from
Window.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.
Inherited from
Window.onmouseup
onpaste
onpaste: (
this,ev) =>any|null
Inherited from
Window.onpaste
onpause
onpause: (
this,ev) =>any|null
Occurs when playback is paused.
Param
The event.
Inherited from
Window.onpause
onplay
onplay: (
this,ev) =>any|null
Occurs when the play method is requested.
Param
The event.
Inherited from
Window.onplay
onplaying
onplaying: (
this,ev) =>any|null
Occurs when the audio or video has started playing.
Param
The event.
Inherited from
Window.onplaying
onpointercancel
onpointercancel: (
this,ev) =>any|null
Inherited from
Window.onpointercancel
onpointerdown
onpointerdown: (
this,ev) =>any|null
Inherited from
Window.onpointerdown
onpointerenter
onpointerenter: (
this,ev) =>any|null
Inherited from
Window.onpointerenter
onpointerleave
onpointerleave: (
this,ev) =>any|null
Inherited from
Window.onpointerleave
onpointermove
onpointermove: (
this,ev) =>any|null
Inherited from
Window.onpointermove
onpointerout
onpointerout: (
this,ev) =>any|null
Inherited from
Window.onpointerout
onpointerover
onpointerover: (
this,ev) =>any|null
Inherited from
Window.onpointerover
onpointerup
onpointerup: (
this,ev) =>any|null
Inherited from
Window.onpointerup
onprogress
onprogress: (
this,ev) =>any|null
Occurs to indicate progress while downloading media data.
Param
The event.
Inherited from
Window.onprogress
onratechange
onratechange: (
this,ev) =>any|null
Occurs when the playback rate is increased or decreased.
Param
The event.
Inherited from
Window.onratechange
onreset
onreset: (
this,ev) =>any|null
Fires when the user resets a form.
Param
The event.
Inherited from
Window.onreset
onresize
onresize: (
this,ev) =>any|null
Inherited from
Window.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.
Inherited from
Window.onscroll
onscrollend
onscrollend: (
this,ev) =>any|null
Inherited from
Window.onscrollend
onsecuritypolicyviolation
onsecuritypolicyviolation: (
this,ev) =>any|null
Inherited from
Window.onsecuritypolicyviolation
onseeked
onseeked: (
this,ev) =>any|null
Occurs when the seek operation ends.
Param
The event.
Inherited from
Window.onseeked
onseeking
onseeking: (
this,ev) =>any|null
Occurs when the current playback position is moved.
Param
The event.
Inherited from
Window.onseeking
onselect
onselect: (
this,ev) =>any|null
Fires when the current selection changes.
Param
The event.
Inherited from
Window.onselect
onselectionchange
onselectionchange: (
this,ev) =>any|null
Inherited from
Window.onselectionchange
onselectstart
onselectstart: (
this,ev) =>any|null
Inherited from
Window.onselectstart
onslotchange
onslotchange: (
this,ev) =>any|null
Inherited from
Window.onslotchange
onstalled
onstalled: (
this,ev) =>any|null
Occurs when the download has stopped.
Param
The event.
Inherited from
Window.onstalled
onsubmit
onsubmit: (
this,ev) =>any|null
Inherited from
Window.onsubmit
onsuspend
onsuspend: (
this,ev) =>any|null
Occurs if the load operation has been intentionally halted.
Param
The event.
Inherited from
Window.onsuspend
ontimeupdate
ontimeupdate: (
this,ev) =>any|null
Occurs to indicate the current playback position.
Param
The event.
Inherited from
Window.ontimeupdate
ontoggle
ontoggle: (
this,ev) =>any|null
Inherited from
Window.ontoggle
ontouchcancel?
optionalontouchcancel: (this,ev) =>any|null
Inherited from
Window.ontouchcancel
ontouchend?
optionalontouchend: (this,ev) =>any|null
Inherited from
Window.ontouchend
ontouchmove?
optionalontouchmove: (this,ev) =>any|null
Inherited from
Window.ontouchmove
ontouchstart?
optionalontouchstart: (this,ev) =>any|null
Inherited from
Window.ontouchstart
ontransitioncancel
ontransitioncancel: (
this,ev) =>any|null
Inherited from
Window.ontransitioncancel
ontransitionend
ontransitionend: (
this,ev) =>any|null
Inherited from
Window.ontransitionend
ontransitionrun
ontransitionrun: (
this,ev) =>any|null
Inherited from
Window.ontransitionrun
ontransitionstart
ontransitionstart: (
this,ev) =>any|null
Inherited from
Window.ontransitionstart
onvolumechange
onvolumechange: (
this,ev) =>any|null
Occurs when the volume is changed, or playback is muted or unmuted.
Param
The event.
Inherited from
Window.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.
Inherited from
Window.onwaiting
onwebkitanimationend
onwebkitanimationend: (
this,ev) =>any|null
Deprecated
This is a legacy alias of onanimationend.
Inherited from
Window.onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationiteration: (
this,ev) =>any|null
Deprecated
This is a legacy alias of onanimationiteration.
Inherited from
Window.onwebkitanimationiteration
onwebkitanimationstart
onwebkitanimationstart: (
this,ev) =>any|null
Deprecated
This is a legacy alias of onanimationstart.
Inherited from
Window.onwebkitanimationstart
onwebkittransitionend
onwebkittransitionend: (
this,ev) =>any|null
Deprecated
This is a legacy alias of ontransitionend.
Inherited from
Window.onwebkittransitionend
onwheel
onwheel: (
this,ev) =>any|null
Inherited from
Window.onwheel
clientInformation
readonlyclientInformation:Navigator
Deprecated
This is a legacy alias of navigator.
Inherited from
Window.clientInformation
closed
readonlyclosed:boolean
Returns true if the window has been closed, false otherwise.
Inherited from
Window.closed
customElements
readonlycustomElements:CustomElementRegistry
Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
Inherited from
Window.customElements
devicePixelRatio
readonlydevicePixelRatio:number
Inherited from
Window.devicePixelRatio
document
readonlydocument:Document
Inherited from
Window.document
event
readonlyevent:Event|undefined
Deprecated
Inherited from
Window.event
external
readonlyexternal:External
Deprecated
Inherited from
Window.external
frameElement
readonlyframeElement:Element|null
Inherited from
Window.frameElement
frames
readonlyframes:Window
Inherited from
Window.frames
history
readonlyhistory:History
Inherited from
Window.history
innerHeight
readonlyinnerHeight:number
Inherited from
Window.innerHeight
innerWidth
readonlyinnerWidth:number
Inherited from
Window.innerWidth
length
readonlylength:number
Inherited from
Window.length
locationbar
readonlylocationbar:BarProp
Returns true if the location bar is visible; otherwise, returns false.
Inherited from
Window.locationbar
menubar
readonlymenubar:BarProp
Returns true if the menu bar is visible; otherwise, returns false.
Inherited from
Window.menubar
name
name:
string
Inherited from
Window.name
ondevicemotion
ondevicemotion: (
this,ev) =>any|null
Available only in secure contexts.
Inherited from
Window.ondevicemotion
ondeviceorientation
ondeviceorientation: (
this,ev) =>any|null
Available only in secure contexts.
Inherited from
Window.ondeviceorientation
ondeviceorientationabsolute
ondeviceorientationabsolute: (
this,ev) =>any|null
Available only in secure contexts.
Inherited from
Window.ondeviceorientationabsolute
onorientationchange
onorientationchange: (
this,ev) =>any|null
Deprecated
Inherited from
Window.onorientationchange
opener
opener:
any
Inherited from
Window.opener
orientation
readonlyorientation:number
Deprecated
Inherited from
Window.orientation
outerHeight
readonlyouterHeight:number
Inherited from
Window.outerHeight
outerWidth
readonlyouterWidth:number
Inherited from
Window.outerWidth
pageXOffset
readonlypageXOffset:number
Deprecated
This is a legacy alias of scrollX.
Inherited from
Window.pageXOffset
pageYOffset
readonlypageYOffset:number
Deprecated
This is a legacy alias of scrollY.
Inherited from
Window.pageYOffset
parent
readonlyparent: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
personalbar
readonlypersonalbar:BarProp
Returns true if the personal bar is visible; otherwise, returns false.
Inherited from
Window.personalbar
screen
readonlyscreen:Screen
Inherited from
Window.screen
screenLeft
readonlyscreenLeft:number
Inherited from
Window.screenLeft
screenTop
readonlyscreenTop:number
Inherited from
Window.screenTop
screenX
readonlyscreenX:number
Inherited from
Window.screenX
screenY
readonlyscreenY:number
Inherited from
Window.screenY
scrollX
readonlyscrollX:number
Inherited from
Window.scrollX
scrollY
readonlyscrollY:number
Inherited from
Window.scrollY
scrollbars
readonlyscrollbars:BarProp
Returns true if the scrollbars are visible; otherwise, returns false.
Inherited from
Window.scrollbars
self
readonlyself:Window& typeofglobalThis
Inherited from
Window.self
speechSynthesis
readonlyspeechSynthesis:SpeechSynthesis
Inherited from
Window.speechSynthesis
status
status:
string
Deprecated
Inherited from
Window.status
statusbar
readonlystatusbar:BarProp
Returns true if the status bar is visible; otherwise, returns false.
Inherited from
Window.statusbar
toolbar
readonlytoolbar:BarProp
Returns true if the toolbar is visible; otherwise, returns false.
Inherited from
Window.toolbar
top
readonlytop:Window|null
Inherited from
Window.top
visualViewport
readonlyvisualViewport:VisualViewport|null
Inherited from
Window.visualViewport
window
readonlywindow:Window& typeofglobalThis
Inherited from
Window.window
onafterprint
onafterprint: (
this,ev) =>any|null
Inherited from
Window.onafterprint
onbeforeprint
onbeforeprint: (
this,ev) =>any|null
Inherited from
Window.onbeforeprint
onbeforeunload
onbeforeunload: (
this,ev) =>any|null
Inherited from
Window.onbeforeunload
ongamepadconnected
ongamepadconnected: (
this,ev) =>any|null
Inherited from
Window.ongamepadconnected
ongamepaddisconnected
ongamepaddisconnected: (
this,ev) =>any|null
Inherited from
Window.ongamepaddisconnected
onhashchange
onhashchange: (
this,ev) =>any|null
Inherited from
Window.onhashchange
onlanguagechange
onlanguagechange: (
this,ev) =>any|null
Inherited from
Window.onlanguagechange
onmessage
onmessage: (
this,ev) =>any|null
Inherited from
Window.onmessage
onmessageerror
onmessageerror: (
this,ev) =>any|null
Inherited from
Window.onmessageerror
onoffline
onoffline: (
this,ev) =>any|null
Inherited from
Window.onoffline
ononline
ononline: (
this,ev) =>any|null
Inherited from
Window.ononline
onpagehide
onpagehide: (
this,ev) =>any|null
Inherited from
Window.onpagehide
onpageshow
onpageshow: (
this,ev) =>any|null
Inherited from
Window.onpageshow
onpopstate
onpopstate: (
this,ev) =>any|null
Inherited from
Window.onpopstate
onrejectionhandled
onrejectionhandled: (
this,ev) =>any|null
Inherited from
Window.onrejectionhandled
onstorage
onstorage: (
this,ev) =>any|null
Inherited from
Window.onstorage
onunhandledrejection
onunhandledrejection: (
this,ev) =>any|null
Inherited from
Window.onunhandledrejection
onunload
onunload: (
this,ev) =>any|null
Deprecated
Inherited from
Window.onunload
localStorage
readonlylocalStorage:Storage
Inherited from
Window.localStorage
caches
readonlycaches:CacheStorage
Available only in secure contexts.
Inherited from
Window.caches
crossOriginIsolated
readonlycrossOriginIsolated:boolean
Inherited from
Window.crossOriginIsolated
crypto
readonlycrypto:Crypto
Inherited from
Window.crypto
indexedDB
readonlyindexedDB:IDBFactory
Inherited from
Window.indexedDB
isSecureContext
readonlyisSecureContext:boolean
Inherited from
Window.isSecureContext
origin
readonlyorigin:string
Inherited from
Window.origin
performance
readonlyperformance:Performance
Inherited from
Window.performance
sessionStorage
readonlysessionStorage:Storage
Inherited from
Window.sessionStorage
Accessors
location
Get Signature
get location():
Location
Returns
Location
Set Signature
set location(
href):void
Parameters
href
string | Location
Returns
void
Inherited from
Window.location
Methods
cancelAnimationFrame()
cancelAnimationFrame(
handle):void
Parameters
handle
number
Returns
void
Inherited from
Window.cancelAnimationFrame
requestAnimationFrame()
requestAnimationFrame(
callback):number
Parameters
callback
FrameRequestCallback
Returns
number
Inherited from
Window.requestAnimationFrame
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
event
Event
Returns
boolean
Inherited from
Window.dispatchEvent
alert()
alert(
message?):void
Parameters
message?
any
Returns
void
Inherited from
Window.alert
blur()
blur():
void
Returns
void
Deprecated
Inherited from
Window.blur
cancelIdleCallback()
cancelIdleCallback(
handle):void
Parameters
handle
number
Returns
void
Inherited from
Window.cancelIdleCallback
captureEvents()
captureEvents():
void
Returns
void
Deprecated
Inherited from
Window.captureEvents
close()
close():
void
Closes the window.
Returns
void
Inherited from
Window.close
confirm()
confirm(
message?):boolean
Parameters
message?
string
Returns
boolean
Inherited from
Window.confirm
focus()
focus():
void
Moves the focus to the window's browsing context, if any.
Returns
void
Inherited from
Window.focus
getComputedStyle()
getComputedStyle(
elt,pseudoElt?):CSSStyleDeclaration
Parameters
elt
Element
pseudoElt?
string | null
Returns
CSSStyleDeclaration
Inherited from
Window.getComputedStyle
getSelection()
getSelection():
Selection|null
Returns
Selection | null
Inherited from
Window.getSelection
matchMedia()
matchMedia(
query):MediaQueryList
Parameters
query
string
Returns
MediaQueryList
Inherited from
Window.matchMedia
moveBy()
moveBy(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.moveBy
moveTo()
moveTo(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.moveTo
open()
open(
url?,target?,features?):Window|null
Parameters
url?
string | URL
target?
string
features?
string
Returns
Window | null
Inherited from
Window.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.
Parameters
message
any
targetOrigin
string
transfer?
Transferable[]
Returns
void
Inherited from
Window.postMessage
Call Signature
postMessage(
message,options?):void
Parameters
message
any
options?
WindowPostMessageOptions
Returns
void
Inherited from
Window.postMessage
print()
print():
void
Returns
void
Inherited from
Window.print
prompt()
prompt(
message?,_default?):string|null
Parameters
message?
string
_default?
string
Returns
string | null
Inherited from
Window.prompt
releaseEvents()
releaseEvents():
void
Returns
void
Deprecated
Inherited from
Window.releaseEvents
requestIdleCallback()
requestIdleCallback(
callback,options?):number
Parameters
callback
IdleRequestCallback
options?
IdleRequestOptions
Returns
number
Inherited from
Window.requestIdleCallback
resizeBy()
resizeBy(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.resizeBy
resizeTo()
resizeTo(
width,height):void
Parameters
width
number
height
number
Returns
void
Inherited from
Window.resizeTo
scroll()
Call Signature
scroll(
options?):void
Parameters
options?
ScrollToOptions
Returns
void
Inherited from
Window.scroll
Call Signature
scroll(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.scroll
scrollBy()
Call Signature
scrollBy(
options?):void
Parameters
options?
ScrollToOptions
Returns
void
Inherited from
Window.scrollBy
Call Signature
scrollBy(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.scrollBy
scrollTo()
Call Signature
scrollTo(
options?):void
Parameters
options?
ScrollToOptions
Returns
void
Inherited from
Window.scrollTo
Call Signature
scrollTo(
x,y):void
Parameters
x
number
y
number
Returns
void
Inherited from
Window.scrollTo
stop()
stop():
void
Cancels the document load.
Returns
void
Inherited from
Window.stop
addEventListener()
Call Signature
addEventListener<
K>(type,listener,options?):void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Type Parameters
K
K extends keyof WindowEventMap
Parameters
type
K
listener
(this, ev) => any
options?
boolean | AddEventListenerOptions
Returns
void
Inherited from
Window.addEventListener
Call Signature
addEventListener(
type,listener,options?):void
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
Parameters
type
string
listener
EventListenerOrEventListenerObject
options?
boolean | AddEventListenerOptions
Returns
void
Inherited from
Window.addEventListener
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.
Type Parameters
K
K extends keyof WindowEventMap
Parameters
type
K
listener
(this, ev) => any
options?
boolean | EventListenerOptions
Returns
void
Inherited from
Window.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.
Parameters
type
string
listener
EventListenerOrEventListenerObject
options?
boolean | EventListenerOptions
Returns
void
Inherited from
Window.removeEventListener
atob()
atob(
data):string
Parameters
data
string
Returns
string
Inherited from
Window.atob
btoa()
btoa(
data):string
Parameters
data
string
Returns
string
Inherited from
Window.btoa
clearInterval()
clearInterval(
id):void
Parameters
id
number | undefined
Returns
void
Inherited from
Window.clearInterval
clearTimeout()
clearTimeout(
id):void
Parameters
id
number | undefined
Returns
void
Inherited from
Window.clearTimeout
createImageBitmap()
Call Signature
createImageBitmap(
image,options?):Promise<ImageBitmap>
Parameters
image
ImageBitmapSource
options?
ImageBitmapOptions
Returns
Promise<ImageBitmap>
Inherited from
Window.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
Window.createImageBitmap
fetch()
fetch(
input,init?):Promise<Response>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Inherited from
Window.fetch
queueMicrotask()
queueMicrotask(
callback):void
Parameters
callback
VoidFunction
Returns
void
Inherited from
Window.queueMicrotask
reportError()
reportError(
e):void
Parameters
e
any
Returns
void
Inherited from
Window.reportError
setInterval()
setInterval(
handler,timeout?, ...arguments):number
Parameters
handler
TimerHandler
timeout?
number
arguments
...any[]
Returns
number
Inherited from
Window.setInterval
setTimeout()
setTimeout(
handler,timeout?, ...arguments):number
Parameters
handler
TimerHandler
timeout?
number
arguments
...any[]
Returns
number
Inherited from
Window.setTimeout
structuredClone()
structuredClone<
T>(value,options?):T
Type Parameters
T
T = any
Parameters
value
T
options?
StructuredSerializeOptions
Returns
T
Inherited from
Window.structuredClone