mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
b0c86bd9f4e33d02b04cce6f1f50b31ca55e14d0
webcomponents.js
A suite of polyfills supporting the HTML web components specs:
Custom Elements: allows authors to define their own custom tags (spec).
HTML Imports: a way to include and reuse HTML documents via other HTML documents (spec).
Shadow DOM: provides encapsulation by hiding DOM subtrees under shadow roots (spec).
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.
Description
Languages
HTML
62.2%
JavaScript
37.8%