JSFiddle - React, Tailwind, and code Playground

by Oski Krawczyk

HTML

<form id="f">
    <label><input type="checkbox" />test 1</label>
</form>

JavaScript

document.addEvents({
    "change:relay(input[type=checkbox])": function(){
        console.log(this)
    }
});