JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"></div>

CSS

#test {

 width: 200px;
 height:200px;
background: black;    
}

JavaScript

$(document).ready(function() {
    
 
    $('#test').bind('gestureend', function(){
        
        setTimeout(function(){
            
            alert('aaaaaaaa');
        });    
    
    });        
    
});