Methods
dispatch
- dispatch(eventName: string, data: any): void
-
Parameters
-
eventName: string
-
data: any
Returns void
off
- off(eventName: string, callback: (data: any) => void): void
-
Parameters
-
eventName: string
-
callback: (data: any) => void
Returns void
on
- on(eventName: string, callback: (data: any) => void): void
-
Parameters
-
eventName: string
-
callback: (data: any) => void
Returns void