class method Event.extend
Event.extend(event) → Event
Event) – An Event object
event with all of the methods contained in
You need only call
Event.extend manually if you register a handler a
different way (e.g., the
onclick attribute). We really can't encourage
that sort of thing, though.
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.