Tiny-Lit
Just another JavaScript library for building user interfaces using template literals
Usage
Html template
; const quote = html` `; ;
List of templates
; const listItem = html``; const list = html` `; ;
Custom element
; { ; } { return html``; }customElement; HTMLSelectElement { return html` `; }customElement;
Observed props
All observed props will trigger an update when they change
; Element title = 'My clock'; static { return title: String ; } { ; } { return html` `; }customElement;