<my-ce></my-ce>
<script>
class MyCe extends HTMLElement {
constructor() {
super()
this.textContent = 'Hello, World!'
}
}
customElements.define('my-ce', MyCe)
</script>
<my-ce></my-ce>
<script>
class MyCe extends HTMLElement {
constructor() {
super()
this.textContent = 'Hello, World!'
}
}
customElements.define('my-ce', MyCe)
</script>