simplified syntax for creating lightweight custom elements
- based on webcomponents.js polyfill
- inspired by skatejs clean api aesthetics
- encourages authoring es6 web components
- further encourages publishing web components to npm as es5 modules
install
npm i el-elemento --save
usage
while not required, el-elemento
looks great as es6 src
// index.es6.js let hello = documentbody
renders this markup:
hello world
Check out /components
for more examples.
exending
let IconLink = let homePage = hompagehref = 'http://brian.io'homepageinnerText = 'homepage
renders the following markup
homepage