prevent-default
Prevent-default decorator for DOM listeners
Prevent-default decorator for DOM listeners
Takes a function and returns a function that calls preventDefault on the last argument of the function
Wrap an event handler so that it will e.preventDefault() for you when available. (i.e. also works if you call it directly)
A wrapper that calls event.preventDefault() for you.