1. Web
  2. Web APIs
  3. HTMLTemplateElement
  4. shadowRootCustomElementRegistry

HTMLTemplateElement: shadowRootCustomElementRegistry property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Want more support for this feature? Tell us why.

The shadowRootCustomElementRegistry property of the HTMLTemplateElement interface reflects the value of the shadowrootcustomelementregistry attribute of the associated <template> element.

Note: This property is not useful for developers, and is only documented for completeness. If a <template> element is used to declaratively create a ShadowRoot, then this object and property do not exist. Otherwise, if an HTMLTemplateElement is created, the value of this property is irrelevant because the object is not a shadow root and cannot subsequently be changed to a shadow root.

Value

A string that reflects the shadowrootcustomelementregistry attribute of the associated <template> element.

Specifications

Specification
HTML
# dom-template-shadowrootcustomelementregistry

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /