OtherCommonEventEmitterCommonEventEmitter.onVersion: 23.5.0On this pageCommonEventEmitter.on() method Signature interface CommonEventEmitter { on<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>): this;} Parameters ParameterTypeDescriptiontypeKeyhandlerHandler<Events[Key]> Returns: this