slotAssignment property

SlotAssignmentMode get slotAssignment

The read-only slotAssignment property of the ShadowRoot interface returns the slot assignment mode for the shadow DOM tree. Nodes are either automatically assigned (named) or manually assigned (manual). The value of this property defined using the slotAssignment option when calling Element.attachShadow.

Implementation

external SlotAssignmentMode get slotAssignment;