The webcomponent.js polyfills enable Web Components in (evergreen) browsers that lack native support.
Install with Bower
bower install webcomponentsjs
Install with npm
npm install webcomponents.js
Download webcomponents.js 0.6.1 (116KB minified, 34KB gzipped)
ArticlesCreating semantic sites with Web Components and JSON-LD
With the rising popularity of web components and supporting libraries like Polymer, custom elements become an attractive way to build UI features. The default encapsulation of custom elements makes them especially useful for creating independent widgets.
While some of the widgets are self-contained, many of them rely on external data to present the content to the user - e.g., the current forecast for a weather widget or the address of a company for a map widget.
It would be great if we could avoid repetition and ensure data consistency, by reusing the same data snippets to populate different widgets as well as inform search engines and other consumers about the content of our page. We can achieve this by using the schema.org standard and the JSON-LD format for our data.Read More >
PresentationsGIFs vs Web Components
This talk is about the reality of component-based web development, told through the frivolous pursuit of a more awesome IMG tag for animated GIFs. It’s a not-so-serious window into a terribly important debate about better encapsulation, reuse, and happiness in our front-end lives.Read More >