JSFiddle - React, Tailwind, and code Playground
by Blake Plumb
HTML
<div class="navItem1">TEST</div>
JavaScript
function navHoverIntent(value){
console.log($(value).text());
}
$('.navItem1').on('hover', function(){
navHoverIntent(this);
});