element-boilerplate
element-boilerplate copied to clipboard
Fork this repo if you want to start your own Web Component using VanillaJS
@zenorocha what do you think?
The function ElementConstructor is a unique constructor that first calls the superclass (parent class), HTMLElement's, constructor using `apply()` with the context of the new element object, then allows for modification...
document.registerElement is deprecated and does not work on safari.
Any plans to update this to reflect new v1 spec?
Add checklist for gold standard. [Example](https://github.com/basic-web-components/basic-carousel/blob/master/gold-standard.json)
Add polyfill for css variables & documentation in readme ([like this](https://github.com/PolymerElements/paper-dropdown-menu/blob/master/README.md#styling)) . @tabatkins - what polyfill would you recommend? Myth.io?