JSFiddle - React, Tailwind, and code Playground

HTML

<button id="btn">Click!</button>

JavaScript

$('#btn').on('click mouselemove', function() {
    alert('clicked! or mouseenter?');
})