Category "hyperscript"

hyperscript equvelant of jquery .on("click"

$( document ).ready(function() { console.log( "ready!" ); var counter = 0; $("button").click(function() { e="<p class='test' _=\"on

Make a clone of html element in _hyperscript

How to make a clone of html element in _hyperscript? For example, I want to see a copy of a button after clicking on it. Something like: <button _="on click