insert-html
v0.0.1
Published
Use a promise and requestAnimationFrame to insert HTML.
Downloads
488
Readme
Insert HTML
Use a promise and requestAnimationFrame to insert HTML
Installation
- npm install insert-html
Usage
var InsertHTML = require('insert-html');
new InsertHTML('#selector', '<div>html</div>', 'html')
.then(
function(){
// html was inserted
}
);