Simple, generic-typed custom event emitter.

Type Parameters

Hierarchy

  • EventEmitter

Constructors

Properties

Methods

Constructors

Properties

eventName: EventName
target: HTMLElement

Methods

  • Emit the event for listeners to observe.

    Parameters

    • Optional value: Omit<T, "timestamp" | "event" | "cellId">

      the payload for the event

    • Optional options: CustomEventInit<any>

      optionally supply values to CustomEvent like preventing bubbling.

    Returns void

Generated using TypeDoc