Skip to main content

Web APIs reference

Every web platform API implemented by Deno, by category. Use your browser's find-in-page to locate a symbol, then click through for full documentation.

Cache

  • I
    v
    Cache

    Represents a single named store of Request/Response pairs. Obtain a Cache via CacheStorage.open and use it to persist responses and later match incoming requests against them.

  • I
    CacheQueryOptions
  • I
    v
    CacheStorage

    Represents the storage for named Cache objects. It provides the methods used to open, enumerate, look up, and delete caches, and is accessed via the global caches property.

  • I
    MultiCacheQueryOptions
  • v
    caches

    The global CacheStorage instance, providing access to the named Cache objects used to store and retrieve Request/Response pairs.

Canvas

Crypto

Encoding

Events

  • f
    addEventListener

    Registers an event listener in the global scope, which will be called synchronously whenever the event type is dispatched.

  • f
    dispatchEvent

    Dispatches an event in the global scope, synchronously invoking any registered event listeners for this event in the appropriate order. Returns false if event is cancelable and at least one of the event handlers which handled this event called Event.preventDefault(). Otherwise it returns true.

  • f
    removeEventListener

    Remove a previously registered event listener from the global scope

  • I
    AddEventListenerOptions

    Options for configuring an event listener via addEventListener.

  • I
    v
    CustomEvent
  • I
    CustomEventInit
  • I
    v
    ErrorEvent
  • I
    ErrorEventInit
  • I
    v
    Event

    An event which takes place in the DOM.

  • I
    EventInit
  • I
    EventListener
  • I
    EventListenerObject

    The EventListenerObject interface represents an object that can handle events dispatched by an EventTarget object.

  • I
    EventListenerOptions
  • I
    v
    EventTarget

    EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.

  • I
    v
    MessageEvent
  • I
    MessageEventInit
  • I
    v
    ProgressEvent

    Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,