JSFiddle - React, Tailwind, and code Playground

by Shree Khanal

HTML

<input type="button" id="tap" value="tap"/>

JavaScript

$("#tap").dblclick(function(event) {

alert("tap was double-clicked");
});