Readonly
cachesAvailable only in secure contexts.
Readonly
clientReadonly
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.
An XRSessionEvent of type beforexrselect is dispatched on the DOM overlay element before generating a WebXR selectstart input event if the -Z axis of the input source's targetRaySpace intersects the DOM overlay element at the time the input device's primary action is triggered.
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.
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.
Readonly
orientationReadonly
originReadonly
outerReadonly
outerReadonly
pageXOffsetReadonly
pageYOffsetReadonly
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
windowOptional
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: 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: WindowPostMessageOptionsOptional
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.
MDN Reference