JSFiddle - React, Tailwind, and code Playground
by TJ VanToll
HTML
<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-git.js"></script>
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<div id="trigger">hover me</div>
CSS
#trigger { margin-top: 200px; }
JavaScript
$( document ).tooltip({
items: '#trigger',
content: function(response) {
setTimeout( function() {
var html = '';
for ( var i = 0; i < 10; i++ )
html += 'Hello ' + i + '<br />';
response( html );
}, 1500 );
return 'Testing.';
}
});