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