From d508e33e78a802303f24ed3af1f72d6650837583 Mon Sep 17 00:00:00 2001 From: ramkumardinesh Date: Sun, 28 Mar 2021 15:34:19 +0530 Subject: [PATCH] Update scoped-elements.md OpenWC scoped elements Reference Link updated --- docs/guides/principles/scoped-elements.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/principles/scoped-elements.md b/docs/guides/principles/scoped-elements.md index 5a47d5920..d65fd64a7 100644 --- a/docs/guides/principles/scoped-elements.md +++ b/docs/guides/principles/scoped-elements.md @@ -1,6 +1,6 @@ # Principles >> Scoped Elements ||40 -The [CustomElementRegistry](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry) provides methods for registering custom elements. One of the limitations of working with this global registry is that multiple versions of the same element cannot co-exist. This causes bottlenecks in software delivery that should be managed by the teams and complex build systems. [Scoped Custom Element Registries](https://github.com/w3c/webcomponents/issues/716) is a proposal that will solve the problem. Since this functionality won't be available (especially not cross browser) anytime soon, we've adopted [OpenWC's Scoped Elements](https://open-wc.org/scoped-elements/). +The [CustomElementRegistry](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry) provides methods for registering custom elements. One of the limitations of working with this global registry is that multiple versions of the same element cannot co-exist. This causes bottlenecks in software delivery that should be managed by the teams and complex build systems. [Scoped Custom Element Registries](https://github.com/w3c/webcomponents/issues/716) is a proposal that will solve the problem. Since this functionality won't be available (especially not cross browser) anytime soon, we've adopted [OpenWC's Scoped Elements](https://open-wc.org/docs/development/scoped-elements/). Whenever a lion component uses composition (meaning it uses another lion component inside), we apply ScopedElementsMixin to make sure it uses the right version of this internal component. @@ -98,4 +98,4 @@ __getLightDomNode() { } ``` -We encourage you to have a look at [OpenWC's Scoped elements](https://open-wc.org/scoped-elements). +We encourage you to have a look at [OpenWC's Scoped elements](https://open-wc.org/docs/development/scoped-elements/).