JSFiddle - React, Tailwind, and code Playground

by darcyclarke

HTML

<div></div>

CSS

div {
 width: 100px;
 height: 100px;
background: red;    
}

JavaScript

$('div').on('touchstart', function(e){
   console.log('TOUCH START >>>', e); 
});

/*
$el = $('div'), el = $el[0];
$el.trigger($.Event('touchstart', e));
$el.trigger($.Event('touchend', f));
*/