Scoped custom element registries
Limited availability
The CustomElementRegistry()
constructor creates a new custom element registry that's separate from the global window.customElements
registry. Creating more than one registry is useful for multiple custom elements that have the same tag name to coexist.
Learning resources on MDN
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Specifications
- HTML (#custom-elements-api), from HTML Workstream (WHATWG).
- DOM (#element-custom-element-registry), from DOM Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature