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.
Learn more
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.Specifications
- HTML (#custom-elements-api), from HTML Workstream (WHATWG).
- DOM (#element-custom-element-registry), from DOM Workstream (WHATWG).
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist