Function setupCaptureEvent
- setupCaptureEvent<T>(cls: Class<T>, eventName: string): {
captureEventRegistration: (() => void);
getListeners: (() => CallableFunction[]);
}
-
Type Parameters
-
T extends EventDispatcher<T>
Parameters
-
cls: Class<T>
-
eventName: string
Returns {
captureEventRegistration: (() => void);
getListeners: (() => CallableFunction[]);
}
-
captureEventRegistration: (() => void)
-
getListeners: (() => CallableFunction[])
-
- (): CallableFunction[]
-
Returns CallableFunction[]