preventdefault
v0.1.1
Published
A simple higher order function to pre-prevent default action of an event
Downloads
6
Readme
preventDefault
A simple higher order function to pre-prevent default action of an event
Usage
// function to be called by event
function myEventFunction([params]) {}
// wrap function and pass arguments
preventDefault(myEventFunction, [params])