- From: Steve Orvell <notifications@github.com>
- Date: Wed, 25 Sep 2024 12:15:30 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 25 September 2024 19:15:34 UTC
At TPAC2024, a similar suggestion was made to introduce the ability to make the default registry for a document settable. With this capability one could implement this API. ```js runWithScope = (registry, callback) => { const current = customElements.defaultRegistry; customElements.defaultRegistry = registry; callback(); customElements.defaultRegistry = current; } ``` -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1058#issuecomment-2375005721 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1058/2375005721@github.com>
Received on Wednesday, 25 September 2024 19:15:34 UTC