Returns a function that will call the given handler and prevent the default event behavior.
Optional
The function to call when the event is triggered.
Returns a function that will call the given handler and prevent the default event behavior.