Skip to content

askibinski/web_components

Repository files navigation

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.

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors