JSFiddle - React, Tailwind, and code Playground

by greatCar

HTML

<body >
  <button onmousedown="myclick(event)">Click me</button>
</body>

JavaScript

this.myclick = function  (e){
//event = event || body.event;
alert("ddd");
alert (e.clientX);
}