webcomponentsjs-custom-element-v0
v1.0.2
Published
This is the v0 branch of CustomElements from the webcomponentsjs project.
Downloads
439
Readme
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.