Add an event receiver to specific events only.
Add an event receiver to specific events only.
1 table receiver
the object that will be receiving events.
2 table eventList
the list of events that this receiver can handle.
3 string methodName (optional)
the method name for handling events. If none is specified, it will fall back to the default 'handleEvent' method.