Update scoped-elements.md
OpenWC scoped elements Reference Link updated
This commit is contained in:
parent
e712d7b454
commit
d508e33e78
1 changed files with 2 additions and 2 deletions
|
|
@ -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/).
|
||||
|
|
|
|||
Loading…
Reference in a new issue