html-render
v0.1.1
Published
HTMLElement render method with incremental DOM update
Downloads
4
Readme
HTML render
HTMLElement render method with incremental DOM update
Include
The following adds a render
method to HTMLElement.
require('html-render');
Use
var app = document.body.querySelector('app-root');
app.render( html );
app.render( newHtml );
This updates the DOM efficiently by rendering only the difference.
Based on
html2IDOM (light version)