JSFiddle - React, Tailwind, and code Playground

by pehrlich

HTML

<a>ok</a>

JavaScript

$('a').click(function(e){
    console.log('single click', this, arguments, e.altKey);    
});

$('a').dblclick(function(){
    console.log('double click', this, arguments);
});

$('a').bind('mousedown', function(){
//    console.log('mouse down', this, arguments);
});

$('a').bind('mouseup', function(){
  //  console.log('mouse up', this, arguments);
});