JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<canvas class="box-shadow" id="canvas" width="640" height="640"></canvas>
</div>
JavaScript
$('.wrapper').click(function(){
alert("testing");
});
$('.wrapper').click(50,50);