Defines a "document event" function handler. Returns the handler function as-is, only providing the types and doing basic validation.
The event handler function to use.
The handler function, unmodified.
Defines a "document event" function handler. Returns the handler function as-is, only providing the types and doing basic validation.