mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
Update the readme to include @addyosmani's notes
This commit is contained in:
24
README.md
24
README.md
@@ -1,7 +1,21 @@
|
||||
webcomponents.js-dev
|
||||
====================
|
||||
webcomponents.js
|
||||
================
|
||||
|
||||
Web Component polyfills development respository.
|
||||
A suite of polyfills supporting the HTML web components specs:
|
||||
|
||||
Production distributions may be built using gulp. Pre-built versions are
|
||||
available at https://github.com/Polymer/webcomponentsjs.
|
||||
**Custom Elements**: allows authors to define their own custom tags ([spec](https://w3c.github.io/webcomponents/spec/custom/)).
|
||||
|
||||
**HTML Imports**: a way to include and reuse HTML documents via other HTML documents ([spec](https://w3c.github.io/webcomponents/spec/imports/)).
|
||||
|
||||
**Shadow DOM**: provides encapsulation by hiding DOM subtrees under shadow roots ([spec](https://w3c.github.io/webcomponents/spec/shadow/)).
|
||||
|
||||
This also folds in polyfills for `MutationObserver` and `WeakMap`.
|
||||
|
||||
|
||||
# Builds
|
||||
|
||||
There are two builds of these polyfills:
|
||||
|
||||
`webcomponents.js` includes all of the polyfills.
|
||||
|
||||
`webcomponents-lite.js` includes all polyfills except for shadow DOM.
|
||||
|
||||
Reference in New Issue
Block a user