JSFiddle - React, Tailwind, and code Playground

by marcuswhybrow

HTML

<button type="button">Activate Me</button>

JavaScript

$(function() {
    function activated() {
        alert($(this).is(':hover'));
    }
    $('button').click(activated);
});