A window containing a DOM document; the document property points to the DOM document loaded in that window.

interface Window {
    caches: CacheStorage;
    clientInformation: Navigator;
    closed: boolean;
    crossOriginIsolated: boolean;
    crypto: Crypto;
    customElements: CustomElementRegistry;
    devicePixelRatio: number;
    document: Document;
    event: Event;
    external: External;
    frameElement: Element;
    frames: Window;
    history: History;
    indexedDB: IDBFactory;
    innerHeight: number;
    innerWidth: number;
    isSecureContext: boolean;
    length: number;
    localStorage: Storage;
    locationbar: BarProp;
    menubar: BarProp;
    name: string;
    navigator: Navigator;
    onabort: ((this, ev) => any);
    onafterprint: ((this, ev) => any);
    onanimationcancel: ((this, ev) => any);
    onanimationend: ((this, ev) => any);
    onanimationiteration: ((this, ev) => any);
    onanimationstart: ((this, ev) => any);
    onauxclick: ((this, ev) => any);
    onbeforeinput: ((this, ev) => any);
    onbeforeprint: ((this, ev) => any);
    onbeforeunload: ((this, ev) => any);
    onblur: ((this, ev) => any);
    oncancel: ((this, ev) => any);
    oncanplay: ((this, ev) => any);
    oncanplaythrough: ((this, ev) => any);
    onchange: ((this, ev) => any);
    onclick: ((this, ev) => any);
    onclose: ((this, ev) => any);
    oncontextmenu: ((this, ev) => any);
    oncuechange: ((this, ev) => any);
    ondblclick: ((this, ev) => any);
    ondevicemotion: ((this, ev) => any);
    ondeviceorientation: ((this, ev) => any);
    ondrag: ((this, ev) => any);
    ondragend: ((this, ev) => any);
    ondragenter: ((this, ev) => any);
    ondragleave: ((this, ev) => any);
    ondragover: ((this, ev) => any);
    ondragstart: ((this, ev) => any);
    ondrop: ((this, ev) => any);
    ondurationchange: ((this, ev) => any);
    onemptied: ((this, ev) => any);
    onended: ((this, ev) => any);
    onerror: OnErrorEventHandlerNonNull;
    onfocus: ((this, ev) => any);
    onformdata: ((this, ev) => any);
    ongamepadconnected: ((this, ev) => any);
    ongamepaddisconnected: ((this, ev) => any);
    ongotpointercapture: ((this, ev) => any);
    onhashchange: ((this, ev) => any);
    oninput: ((this, ev) => any);
    oninvalid: ((this, ev) => any);
    onkeydown: ((this, ev) => any);
    onkeypress: ((this, ev) => any);
    onkeyup: ((this, ev) => any);
    onlanguagechange: ((this, ev) => any);
    onload: ((this, ev) => any);
    onloadeddata: ((this, ev) => any);
    onloadedmetadata: ((this, ev) => any);
    onloadstart: ((this, ev) => any);
    onlostpointercapture: ((this, ev) => any);
    onmessage: ((this, ev) => any);
    onmessageerror: ((this, ev) => any);
    onmousedown: ((this, ev) => any);
    onmouseenter: ((this, ev) => any);
    onmouseleave: ((this, ev) => any);
    onmousemove: ((this, ev) => any);
    onmouseout: ((this, ev) => any);
    onmouseover: ((this, ev) => any);
    onmouseup: ((this, ev) => any);
    onoffline: ((this, ev) => any);
    ononline: ((this, ev) => any);
    onorientationchange: ((this, ev) => any);
    onpagehide: ((this, ev) => any);
    onpageshow: ((this, ev) => any);
    onpause: ((this, ev) => any);
    onplay: ((this, ev) => any);
    onplaying: ((this, ev) => any);
    onpointercancel: ((this, ev) => any);
    onpointerdown: ((this, ev) => any);
    onpointerenter: ((this, ev) => any);
    onpointerleave: ((this, ev) => any);
    onpointermove: ((this, ev) => any);
    onpointerout: ((this, ev) => any);
    onpointerover: ((this, ev) => any);
    onpointerup: ((this, ev) => any);
    onpopstate: ((this, ev) => any);
    onprogress: ((this, ev) => any);
    onratechange: ((this, ev) => any);
    onrejectionhandled: ((this, ev) => any);
    onreset: ((this, ev) => any);
    onresize: ((this, ev) => any);
    onscroll: ((this, ev) => any);
    onsecuritypolicyviolation: ((this, ev) => any);
    onseeked: ((this, ev) => any);
    onseeking: ((this, ev) => any);
    onselect: ((this, ev) => any);
    onselectionchange: ((this, ev) => any);
    onselectstart: ((this, ev) => any);
    onslotchange: ((this, ev) => any);
    onstalled: ((this, ev) => any);
    onstorage: ((this, ev) => any);
    onsubmit: ((this, ev) => any);
    onsuspend: ((this, ev) => any);
    ontimeupdate: ((this, ev) => any);
    ontoggle: ((this, ev) => any);
    ontouchcancel?: ((this, ev) => any);
    ontouchend?: ((this, ev) => any);
    ontouchmove?: ((this, ev) => any);
    ontouchstart?: ((this, ev) => any);
    ontransitioncancel: ((this, ev) => any);
    ontransitionend: ((this, ev) => any);
    ontransitionrun: ((this, ev) => any);
    ontransitionstart: ((this, ev) => any);
    onunhandledrejection: ((this, ev) => any);
    onunload: ((this, ev) => any);
    onvolumechange: ((this, ev) => any);
    onwaiting: ((this, ev) => any);
    onwebkitanimationend: ((this, ev) => any);
    onwebkitanimationiteration: ((this, ev) => any);
    onwebkitanimationstart: ((this, ev) => any);
    onwebkittransitionend: ((this, ev) => any);
    onwheel: ((this, ev) => any);
    opener: any;
    orientation: number;
    origin: string;
    outerHeight: number;
    outerWidth: number;
    pageXOffset: number;
    pageYOffset: number;
    parent: Window;
    performance: Performance;
    personalbar: BarProp;
    screen: Screen;
    screenLeft: number;
    screenTop: number;
    screenX: number;
    screenY: number;
    scrollX: number;
    scrollY: number;
    scrollbars: BarProp;
    self: Window & typeof globalThis;
    sessionStorage: Storage;
    speechSynthesis: SpeechSynthesis;
    status: string;
    statusbar: BarProp;
    toolbar: BarProp;
    top: Window;
    visualViewport: VisualViewport;
    window: Window & typeof globalThis;
    location: Location;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    alert(message?): void;
    atob(data): string;
    blur(): void;
    btoa(data): string;
    cancelAnimationFrame(handle): void;
    cancelIdleCallback(handle): void;
    captureEvents(): void;
    clearInterval(id): void;
    clearTimeout(id): void;
    close(): void;
    confirm(message?): boolean;
    createImageBitmap(image, options?): Promise<ImageBitmap>;
    createImageBitmap(image, sx, sy, sw, sh, options?): Promise<ImageBitmap>;
    dispatchEvent(event): boolean;
    fetch(input, init?): Promise<Response>;
    focus(): void;
    getComputedStyle(elt, pseudoElt?): CSSStyleDeclaration;
    getSelection(): Selection;
    matchMedia(query): MediaQueryList;
    moveBy(x, y): void;
    moveTo(x, y): void;
    open(url?, target?, features?): Window;
    postMessage(message, targetOrigin, transfer?): void;
    postMessage(message, options?): void;
    print(): void;
    prompt(message?, _default?): string;
    queueMicrotask(callback): void;
    releaseEvents(): void;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    reportError(e): void;
    requestAnimationFrame(callback): number;
    requestIdleCallback(callback, options?): number;
    resizeBy(x, y): void;
    resizeTo(width, height): void;
    scroll(options?): void;
    scroll(x, y): void;
    scrollBy(options?): void;
    scrollBy(x, y): void;
    scrollTo(options?): void;
    scrollTo(x, y): void;
    setInterval(handler, timeout?, ...arguments): number;
    setTimeout(handler, timeout?, ...arguments): number;
    stop(): void;
    structuredClone(value, options?): any;
    [index: number]: Window;
}

Hierarchy

Indexable

[index: number]: Window

Properties

caches clientInformation closed crossOriginIsolated crypto customElements devicePixelRatio document event external frameElement frames history indexedDB innerHeight innerWidth isSecureContext length localStorage locationbar menubar name navigator onabort onafterprint onanimationcancel onanimationend onanimationiteration onanimationstart onauxclick onbeforeinput onbeforeprint onbeforeunload onblur oncancel oncanplay oncanplaythrough onchange onclick onclose oncontextmenu oncuechange ondblclick ondevicemotion ondeviceorientation ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus onformdata ongamepadconnected ongamepaddisconnected ongotpointercapture onhashchange oninput oninvalid onkeydown onkeypress onkeyup onlanguagechange onload onloadeddata onloadedmetadata onloadstart onlostpointercapture onmessage onmessageerror onmousedown onmouseenter onmouseleave onmousemove onmouseout onmouseover onmouseup onoffline ononline onorientationchange onpagehide onpageshow onpause onplay onplaying onpointercancel onpointerdown onpointerenter onpointerleave onpointermove onpointerout onpointerover onpointerup onpopstate onprogress onratechange onrejectionhandled onreset onresize onscroll onsecuritypolicyviolation onseeked onseeking onselect onselectionchange onselectstart onslotchange onstalled onstorage onsubmit onsuspend ontimeupdate ontoggle ontouchcancel? ontouchend? ontouchmove? ontouchstart? ontransitioncancel ontransitionend ontransitionrun ontransitionstart onunhandledrejection onunload onvolumechange onwaiting onwebkitanimationend onwebkitanimationiteration onwebkitanimationstart onwebkittransitionend onwheel opener orientation origin outerHeight outerWidth pageXOffset pageYOffset parent performance personalbar screen screenLeft screenTop screenX screenY scrollX scrollY scrollbars self sessionStorage speechSynthesis status statusbar toolbar top visualViewport window

Accessors

Methods

Properties

caches: CacheStorage

Available only in secure contexts.

clientInformation: Navigator

Deprecated

This is a legacy alias of navigator.

closed: boolean

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

crossOriginIsolated: boolean
crypto: Crypto
customElements: CustomElementRegistry

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

devicePixelRatio: number
document: Document
event: Event

Deprecated

external: External

Deprecated

frameElement: Element
frames: Window
history: History
indexedDB: IDBFactory
innerHeight: number
innerWidth: number
isSecureContext: boolean
length: number
localStorage: Storage
locationbar: BarProp

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

menubar: BarProp

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

name: string
navigator: Navigator
onabort: ((this, ev) => any)

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when playback is possible, but would require further buffering.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the contents of the object or selection have changed.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires when the user clicks the left mouse button on the object

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the user clicks the right mouse button in the client area, opening the context menu.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires on the source object continuously during a drag operation.

      Parameters

      Returns any

ondragend: ((this, ev) => 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

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires on the target element when the user drags the object to a valid drop target.

      Parameters

      Returns any

ondragleave: ((this, ev) => 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

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires on the target element continuously while the user drags the object over a valid drop target.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires on the source object when the user starts to drag a text selection or selected object.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when the duration attribute is updated.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the media element is reset to its initial state.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the end of playback is reached.

      Parameters

      Returns any

Fires when an error occurs during object loading.

Param: ev

The event.

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires immediately after the browser loads the object.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when media data is loaded at the current playback position.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the duration and dimensions of the media have been determined.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when Internet Explorer begins looking for media data.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the user clicks the object with either mouse button.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the user moves the mouse over the object.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires when the user moves the mouse pointer outside the boundaries of the object.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires when the user moves the mouse pointer into the object.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires when the user releases a mouse button while the mouse is over the object.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

      Deprecated

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when playback is paused.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the play method is requested.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the audio or video has started playing.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs to indicate progress while downloading media data.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the playback rate is increased or decreased.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the user resets a form.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Fires when the user repositions the scroll box in the scroll bar on the object.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when the seek operation ends.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when the current playback position is moved.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Fires when the current selection changes.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when the download has stopped.

      Parameters

      Returns any

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs if the load operation has been intentionally halted.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs to indicate the current playback position.

      Parameters

      Returns any

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

Type declaration

ontouchcancel?: ((this, ev) => any)

Type declaration

ontouchend?: ((this, ev) => any)

Type declaration

ontouchmove?: ((this, ev) => any)

Type declaration

ontouchstart?: ((this, ev) => any)

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

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

Type declaration

    • (this, ev): any
    • Occurs when the volume is changed, or playback is muted or unmuted.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Occurs when playback stops because the next frame of a video resource is not available.

      Parameters

      Returns any

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

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

      Deprecated

      This is a legacy alias of onanimationend.

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

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

      Deprecated

      This is a legacy alias of onanimationiteration.

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

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

      Deprecated

      This is a legacy alias of onanimationstart.

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

Type declaration

    • (this, ev): any
    • Parameters

      Returns any

      Deprecated

      This is a legacy alias of ontransitionend.

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

Type declaration

opener: any
orientation: number

Deprecated

origin: string
outerHeight: number
outerWidth: number
pageXOffset: number

Deprecated

This is a legacy alias of scrollX.

pageYOffset: number

Deprecated

This is a legacy alias of scrollY.

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.

performance: Performance
personalbar: BarProp

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

screen: Screen
screenLeft: number
screenTop: number
screenX: number
screenY: number
scrollX: number
scrollY: number
scrollbars: BarProp

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

self: Window & typeof globalThis
sessionStorage: Storage
speechSynthesis: SpeechSynthesis
status: string

Deprecated

statusbar: BarProp

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

toolbar: BarProp

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

top: Window
visualViewport: VisualViewport
window: Window & typeof globalThis

Accessors

  • get location(): Location
  • Returns Location

  • set location(href): void
  • Parameters

    Returns void

Methods

  • Parameters

    • Optional message: any

    Returns void

  • Parameters

    • data: string

    Returns string

  • Returns void

  • Parameters

    • data: string

    Returns string

  • Parameters

    • handle: number

    Returns void

  • Parameters

    • handle: number

    Returns void

  • Returns void

    Deprecated

  • Parameters

    • id: number

    Returns void

  • Parameters

    • id: number

    Returns void

  • Closes the window.

    Returns void

  • Parameters

    • Optional message: string

    Returns 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

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

    Returns void

  • Parameters

    • elt: Element
    • Optional pseudoElt: string

    Returns CSSStyleDeclaration

  • Returns Selection

  • Parameters

    • query: string

    Returns MediaQueryList

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • Optional url: string | URL
    • Optional target: string
    • Optional features: string

    Returns Window

  • 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
    • Optional transfer: Transferable[]

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • Optional message: string
    • Optional _default: string

    Returns string

  • Returns void

    Deprecated

  • Parameters

    • e: any

    Returns void

  • Parameters

    Returns number

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    • handler: TimerHandler
    • Optional timeout: number
    • Rest ...arguments: any[]

    Returns number

  • Parameters

    • handler: TimerHandler
    • Optional timeout: number
    • Rest ...arguments: any[]

    Returns number

  • Cancels the document load.

    Returns void

Generated using TypeDoc