Class CustomProgressEvent<D, T>

An implementation of the ProgressEvent interface, this is essentially a typed CustomEvent with a type property that lets us disambiguate events passed to progress callbacks.

Type Parameters

  • D = unknown

  • T extends string = any

Hierarchy

  • Event
    • CustomProgressEvent

Implements

Constructors

Properties

Constructors

  • Type Parameters

    • D = unknown

    • T extends string = any

    Parameters

    • type: T
    • Optional detail: any

    Returns CustomProgressEvent<D, T>

Properties

detail: D

Context-specific event information

type: T

The event type