Constructor. Creates a custom event and hooks it up to the provided event handler.
See Implementation
Constructor. Creates a custom event and hooks it up to the provided event handler.