JSFiddle - React, Tailwind, and code Playground

by cneeds

HTML

<div id="allEvents">
    this is some text inside div allEvents
</div>

JavaScript

$("#allEvents").on("*", function(evnt) {
    console.log(evnt.type);
});