JSFiddle - React, Tailwind, and code Playground
HTML
<p>Click me!</p>
JavaScript
$('p').click(function(){
alert('Ouch! Stop hitting me!');
});
var clickEvents = $('p').data("events").click;
jQuery.each(clickEvents, function(key, handlerObj) {
alert(handlerObj.handler);
})