class AppElement extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { this.render(); } render() { if (this.shadowRoot) { this.shadowRoot.innerHTML = `

Hello, World!

Welcome to the AppElement custom web component.

`; } } } customElements.define('app-element', AppElement); class AiShowDemo extends HTMLElement { constructor() { super(); this.attachShadow({ mode: 'open' }); } connectedCallback() { this.render(); } render() { if (this.shadowRoot) { this.shadowRoot.innerHTML = `

AI Show Demo

This is a demo of the AiShowDemo custom web component.

`; } } } customElements.define('ai-show-demo', AiShowDemo);