Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 629 Bytes

File metadata and controls

17 lines (10 loc) · 629 Bytes

Deprecated

The lovely people at Javascript.Info have an article about Custom HTML Elements that is better than this boilerplate: https://javascript.info/custom-elements

Custom HTML Elements FTW!

custom-html-element

This is a boilerplate implementing the HTML Custom Element API: https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements

"Living code explains itself, somewhat, but the real value is in having a haunted town full of horror stories." --𝙙𝙙𝙖𝙮

I use this instead of React, Vue or Angular. Yes, it won't scale because x.

A demo: https://codepen.io/lindseymysse/pen/ExWZEEr