Hi, I'm MrTango

    Category: javascript

  1. ES6 (vanilla Javascript) alternative to jQuery on()

    In jQuery one can use the on() method (event delegation) to register an event handler for example on the body tag and match bubbling events. This is a vanilla Javascript way to do the same without jQuery.