$something.on('mousedown touchstart mousemove', function(e){
// everything do something
if('mousedown') // do something
if('touchstart') // do something
if('mousemove') // do something
});
Is it possible to do something like that? Whats the correct way?
You may use
switchforevent.type: