Dual export (class + register)
register() with guard + auto-register on the entry.
Dois register() seguidos são seguros graças a customElements.get.
HTML
CSS
JavaScript
Live preview
Console
Run the code to see its output here.register() with guard + auto-register on the entry.
Dois register() seguidos são seguros graças a customElements.get.
Run the code to see its output here.