I'm firing an onClick event and would like to somehow check if it was just a click or if it was held down for some time before releasing mouse button and actually firing a click event.
reason for this is to either perform a myTest()
function so onClick="myTest()"
that simply console logs either "mouse was clicked" or "mouse was held and clicked" depending on what action user performs.