Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DispatcherEvent

Hierarchy

  • DispatcherEvent

Index

Constructors

constructor

Properties

callbacks

callbacks: any[] = []

eventName

eventName: string

Methods

fire

  • fire(data: any): void

registerCallback

  • registerCallback(callback: (data: any) => void): void
  • Parameters

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

          • data: any

          Returns void

    Returns void

unregisterCallback

  • unregisterCallback(callback: (data: any) => void): void
  • Parameters

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

          • data: any

          Returns void

    Returns void

Generated using TypeDoc