1.0.1 • Published 4 years ago
huent v1.0.1
huent
A simple library for accessing (subset of) HTMLElement properties in a fluent fashion.
Sample usage:
const h = require('huent')
h("p")
.classes("tesing")
.innerHtml("currently testing Huent lib")
.insertToElementBeginning(h("body"));
h
.find("#uniqId")
.onclick(()=>console.log("element with #uniqId was clicked"));