Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Events

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns Events

Properties

Private Readonly eventHandlers

eventHandlers: Map<string, unknown[]>

Static inject

inject: readonly [] = ...

Methods

on

  • on<T>(event: T, handler: EventMap[T]): void
  • Type parameters

    Parameters

    Returns void

trigger

  • trigger<T>(event: T, ...eventData: Parameters<EventMap[T]>): void
  • Type parameters

    Parameters

    • event: T
    • Rest ...eventData: Parameters<EventMap[T]>

    Returns void

Generated using TypeDoc