4.1.0 • Published 4 years ago

lighterhtml-plus v4.1.0

Weekly downloads
40
License
ISC
Repository
github
Last release
4 years ago

lighterhtml-plus

Build Status WebReflection status License: ISC

This is exactly lighterhtml, plus:

  • onconnected callback, as in hyperHTML, to have Custom Elements like callbacks
  • ondisconnected callback, as in hyperHTML, to have counter events when nodes get disconnected
  • onattributechanged callback, as in wickedElements, to have attributes change notifications, Custom Elements like

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>
`);
4.1.0

4 years ago

4.0.0

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.5.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

0.17.1

5 years ago

0.17.0

5 years ago

0.15.5

5 years ago

0.15.4

5 years ago

0.15.3

5 years ago

0.15.2

5 years ago

0.15.1

5 years ago

0.15.0

5 years ago

0.13.0

5 years ago

0.10.1

5 years ago

0.9.2

5 years ago