HTMLTemplateElement: shadowRootSlotAssignment property
The shadowRootSlotAssignment property of the HTMLTemplateElement interface reflects the value of the shadowrootslotassignment attribute of the associated <template> element.
Note that this property is not useful for developers.
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. It can be used to detect support for the attribute, used declaratively.
Value
A string that reflects the value of the shadowrootslotassignment attribute of the associated <template> element. Possible values are "named" and "manual".
Specifications
This feature does not appear to be defined in any specification.>Browser compatibility
See also
shadowrootslotassignmentattribute of the<template>elementShadowRoot.slotAssignment