OtherCommonEventEmitterCommonEventEmitter.addListenerVersion: 21.5.2On this pageCommonEventEmitter.addListener() methodSignature:interface CommonEventEmitter { addListener<Key extends keyof Events>( type: Key, handler: Handler<Events[Key]> ): this;}ParametersParameterTypeDescriptiontypeKeyhandlerHandler<Events[Key]>Returns:this