JSFiddle - React, Tailwind, and code Playground
HTML
<button id="btn">Click!</button>
JavaScript
$('#btn').on('click mouselemove', function() {
alert('clicked! or mouseenter?');
})
<button id="btn">Click!</button>
$('#btn').on('click mouselemove', function() {
alert('clicked! or mouseenter?');
})