View on GitHub

Elem-mint

Create DOM elements on the fly with strings

Download this project as a .zip file Download this project as a tar.gz file

Create

Use Elem-mint to create DOM objects on the fly -- strings most certainly attached. XD.

$E("div#first[name=thefirst]");// <div id="first" name="thefirst"></div>

yes, it's that easy


so why not try it?

Ultra lightweight
Simple
Reusable

npm link

Want to use an online host?

Add

https://cdn.rawgit.com/spritefullake/elem-mint/master/src/index.min.js

as the source of your script tag.