Interface Event<T>

Similar to the browser CustomEvent type, this class holds only the type of the event, and optionally some details about the event.

Type Parameters

  • T

    the type of the event detail

Hierarchy

  • Event

Accessors

Accessors

  • get detail(): T
  • Returns T

  • get type(): string
  • Returns string