Custom Elements
Web component standards and Lit
customElements.define(tag, class): a new tag the browser treats as a first-class element.
Connects to
- Builds on JavaScript
- Web component standard defines this
- Lit builds on this
Loading...
Web component standards and Lit
customElements.define(tag, class): a new tag the browser treats as a first-class element.