Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Dispatcher

Hierarchy

  • Dispatcher

Index

Properties

Methods

Properties

events

events: {}

Type declaration

Methods

clean

  • clean(): void

dispatch

  • dispatch(eventName: string, data: any): void

off

  • off(eventName: string, callback: (data: any) => void): void
  • Parameters

    • eventName: string
    • callback: (data: any) => void
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    Returns void

on

  • on(eventName: string, callback: (data: any) => void): void
  • Parameters

    • eventName: string
    • callback: (data: any) => void
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    Returns void

Generated using TypeDoc