JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="///ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css">
<div class="sponsorFlip">Clickable</div>
JavaScript
$('.sponsorFlip').bind('click', function(e) {
// for a click event by mouse has e.clienX/e.clientY
console.log(e.clientX)
if (e.clientX){
// then click by mouse
} else {
// triggered
}
}).click();