This repo contains various branches to create Web Components using different tools and libraries.
See README in branches for further instructions.
In the master branch are 3 examples:
- A Custom Element (example-custom-element.html)
- A Custom Element with Shadow DOM (example-custom-element-shadow.html)
- A Custom Element with Shadow DOM and slot (example-custom-web-component.html)
The last one (a full web component) also has some example methods.