elastomer
A web-component library for commonjs based on rivet
Overview
ALPHA version - incomplete doc / incomplete tests
Getting Started
Install the module with: npm install elastomer --save
Getting Started
'use strict'const elastomer = // Optional HTMLElastomer { elastohtml = ` <h2>{{title}}</h2> <ul> <li nv-each-item="list">{{item.label}}</li> </ul> <content></content>` elastocss = `:host {}` } { scopelist = label: 'A' label: 'B' elasto } moduleexports =
Now you can use the new <nova-foobar>
tag
The future is now
The pseudo-dom produced looks like:
Hello world A B The future is now
License: MIT