MDN self-hosted library · e01.org

HTMLTemplateElement: shadowRootDelegatesFocus property

Web Components

no runnable cells web-api-instance-property upstream source

Web Components

The shadowRootDelegatesFocus property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus 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

Reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.

Specifications

Browser compatibility

See also