1.0.2 • Published 6 years ago

webcomponentsjs-shadow-dom-v0 v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

webcomponentsjs-custom-element-v0

This is the v0 branch of CustomElements from the webcomponents.js project.

It is necessary to have polymer run within a content script

Usage

Install via npm:

npm install webcomponentsjs-custom-element-v0

Within a content script (see enable-webcomponents-in-content-scripts and habitlab for usage examples)

document.registerElement = null
require('webcomponentsjs-custom-element-v0')

Source

This is taken from the 0.7.24 release of the webcomponents.js npm package.