Home

Awesome

lighterhtml-plus

Build Status WebReflection status License: ISC

This is exactly lighterhtml, plus:

Live test

V4 Breaking Changes

import {render, html} from 'lighterhtml-plus';

render(document.body, html`
  <div
    onconnected=${event => console.log('connected')}
    ondisconnected=${event => console.log('disconnected')}
    onattributechanged=${({
      attributeName,
      oldValue,
      newValue
    }) => console.log('changed')}
  >
    lighterhtml-plus 🎉
  </div>
`);