Registering Event Emitter
Main constructor. Requires both an emitter and component. Will throw an IllegalArgumentException if either is missing.
Parameters
emitter
component
Main constructor. Requires both an emitter and component. Will throw an IllegalArgumentException if either is missing.