Readonly
cachesAvailable only in secure contexts.
Readonly
clientThis is a legacy alias of navigator
.
Readonly
closedReturns true if the window has been closed, false otherwise.
Readonly
crossReadonly
cryptoReadonly
customDefines a new custom element, mapping the given name to the given constructor as an autonomous custom element.
Readonly
deviceReadonly
documentReadonly
eventReadonly
externalReadonly
frameReadonly
framesReadonly
historyReadonly
indexedDBReadonly
innerReadonly
innerReadonly
isReadonly
lengthReadonly
localReadonly
locationbarReturns true if the location bar is visible; otherwise, returns false.
Readonly
menubarReturns true if the menu bar is visible; otherwise, returns false.
Readonly
navigatorFires when the user aborts the download.
The event.
Fires when the object loses the input focus.
The focus event.
Occurs when playback is possible, but would require further buffering.
The event.
Fires when the contents of the object or selection have changed.
The event.
Fires when the user clicks the left mouse button on the object
The mouse event.
Fires when the user clicks the right mouse button in the client area, opening the context menu.
The mouse event.
Fires when the user double-clicks the object.
The mouse event.
Available only in secure contexts.
Available only in secure contexts.
Fires on the source object continuously during a drag operation.
The event.
Fires on the source object when the user releases the mouse at the close of a drag operation.
The event.
Fires on the target element when the user drags the object to a valid drop target.
The drag event.
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.
The drag event.
Fires on the target element continuously while the user drags the object over a valid drop target.
The event.
Fires on the source object when the user starts to drag a text selection or selected object.
The event.
Occurs when the duration attribute is updated.
The event.
Occurs when the media element is reset to its initial state.
The event.
Occurs when the end of playback is reached.
The event
Fires when an error occurs during object loading.
The event.
Fires when the object receives focus.
The event.
Fires when the user presses a key.
The keyboard event
Fires when the user presses an alphanumeric key.
The event.
Fires when the user releases a key.
The keyboard event
Fires immediately after the browser loads the object.
The event.
Occurs when media data is loaded at the current playback position.
The event.
Occurs when the duration and dimensions of the media have been determined.
The event.
Occurs when Internet Explorer begins looking for media data.
The event.
Fires when the user clicks the object with either mouse button.
The mouse event.
Fires when the user moves the mouse over the object.
The mouse event.
Fires when the user moves the mouse pointer outside the boundaries of the object.
The mouse event.
Fires when the user moves the mouse pointer into the object.
The mouse event.
Fires when the user releases a mouse button while the mouse is over the object.
The mouse event.
Occurs when playback is paused.
The event.
Occurs when the play method is requested.
The event.
Occurs when the audio or video has started playing.
The event.
Occurs to indicate progress while downloading media data.
The event.
Occurs when the playback rate is increased or decreased.
The event.
Fires when the user resets a form.
The event.
Fires when the user repositions the scroll box in the scroll bar on the object.
The event.
Occurs when the seek operation ends.
The event.
Occurs when the current playback position is moved.
The event.
Fires when the current selection changes.
The event.
Occurs when the download has stopped.
The event.
Occurs if the load operation has been intentionally halted.
The event.
Occurs to indicate the current playback position.
The event.
Optional
ontouchcancelOptional
ontouchendOptional
ontouchmoveOptional
ontouchstartOccurs when the volume is changed, or playback is muted or unmuted.
The event.
Occurs when playback stops because the next frame of a video resource is not available.
The event.
This is a legacy alias of onanimationend
.
This is a legacy alias of onanimationiteration
.
This is a legacy alias of onanimationstart
.
This is a legacy alias of ontransitionend
.
Readonly
orientationReadonly
originReadonly
outerReadonly
outerReadonly
pageXOffsetThis is a legacy alias of scrollX
.
Readonly
pageYOffsetThis is a legacy alias of scrollY
.
Readonly
parentRefers 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.
Readonly
performanceReadonly
personalbarReturns true if the personal bar is visible; otherwise, returns false.
Readonly
screenReadonly
screenReadonly
screenReadonly
screenXReadonly
screenYReadonly
scrollXReadonly
scrollYReadonly
scrollbarsReturns true if the scrollbars are visible; otherwise, returns false.
Readonly
selfReadonly
sessionReadonly
speechReadonly
statusbarReturns true if the status bar is visible; otherwise, returns false.
Readonly
toolbarReturns true if the toolbar is visible; otherwise, returns false.
Readonly
topReadonly
visualReadonly
windowAppends 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.
Optional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsOptional
options: ImageBitmapOptionsOptional
options: ImageBitmapOptionsDispatches 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.
Optional
init: RequestInitOptional
pseudoElt: null | stringPosts 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.
Optional
transfer: Transferable[]Optional
options: WindowPostMessageOptionsRemoves the event listener in target's event listener list with the same type, callback, and options.
Optional
options: boolean | EventListenerOptionsOptional
options: boolean | EventListenerOptionsOptional
options: IdleRequestOptionsOptional
options: ScrollToOptionsOptional
options: ScrollToOptionsOptional
options: ScrollToOptionsOptional
timeout: numberRest
...arguments: any[]Optional
timeout: numberRest
...arguments: any[]Optional
options: StructuredSerializeOptions
A window containing a DOM document; the document property points to the DOM document loaded in that window.