0.1.1 • Published 8 years ago

html-render v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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

Incremental DOM

html-parse-stringify

html2IDOM (light version)