(eventName: ChibiEvents, detail: any = null)
| 16 | } |
| 17 | |
| 18 | public emit(eventName: ChibiEvents, detail: any = null) { |
| 19 | return this.target.dispatchEvent(new CustomEvent(eventName, { detail, cancelable: true })); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | export const chibiEventEmitterSingleton = new ChibiEventEmitter(); |
no outgoing calls
no test coverage detected