domy-element
v0.4.0
Published
html or css selector into DOM elements
Downloads
16
Readme
domy-element
html or css selector into DOM elements. For use with Browserify.
(Uses document.querySelectorAll under the hood)
Install
npm install domy-element --save
Usage
var element = require('domy-element');
var el = element('<div class="item"></div>');
var el = element('#someId');
var el = element(document.body);
Run Tests
Requires Phantomjs is installed
npm install
npm test