- From: perrelet <notifications@github.com>
- Date: Wed, 12 Feb 2025 20:36:45 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 13 February 2025 04:36:49 UTC
What if we used Web Components, to fix Web Components? ```js if(!customElements.get(`parsed-callback`)) customElements.define(`parsed-callback`, class extends HTMLElement { connectedCallback() { this.parentElement.parsedCallback(); this.remove(); }}); ``` ```html <custom-element> ... <parsed-callback></parsed-callback> </custom-element> ``` ### 🧠⚡☎️ -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/551#issuecomment-2655457484 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/551/2655457484@github.com>
Received on Thursday, 13 February 2025 04:36:49 UTC