Options
All
  • Public
  • Public/Protected
  • All
Menu

A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.

Hierarchy

  • EventTarget
    • AbortSignal

Index

Properties

EventTarget

EventTarget: object

Type declaration

  • constructor: function
    • new __type(): EventTarget
    • Returns EventTarget

  • prototype: EventTarget

aborted

aborted: boolean

Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.

onabort

onabort: function | null

Methods

addEventListener

dispatchEvent

  • dispatchEvent(event: 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

removeEventListener

Generated using TypeDoc