JSFiddle - React, Tailwind, and code Playground
by Akkuma
HTML
<div id="my_div"></div>
JavaScript
$('div#my_div').delegate('a.details', 'hover', function (ev) {
if(ev.type === 'mouseenter') {
$(this).fadeIn(); //code to execute when the mouse get in
}
else {
$(this).fadeOut(); //code to execute when the mouse get out
}
}).html('<a class="details" href="#">Test</a>');