Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 684 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 684 Bytes

Instructions

This repo contains various branches to create Web Components using different tools and libraries.

  • master (this branch): vanilla JS
  • lit-html: lit-html + lit-element
  • stencil: stencil

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.