Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EventEmitter

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

callbacks

callbacks: {} = {}

Type declaration

  • [s: string]: ((...args: any[]) => any)[]

Methods

emit

  • emit(event: string, ...args: any): void

off

  • off(event: string): void

on

  • on(event: string, cb: (...args: any) => void): void
  • Parameters

    • event: string
    • cb: (...args: any) => void
        • (...args: any): void
        • Parameters

          • Rest ...args: any

          Returns void

    Returns void

Generated using TypeDoc