ef-hierarchy-item
This element renders one row for EFHierarchyElement.
This element renders one row for EFHierarchyElement.
CSS Parts
| Part | Description |
|---|---|
badge | The badge span that shows the element type. |
children | The wrapper for nested child items. |
label | The span that shows the element name. |
row | The container for this item's row. This part receives the `data-focused` and `data-selected` attributes. |
CSS Custom Properties
| Property | Default | Description |
|---|---|---|
--hierarchy-drop-indicator | #3b82f6 | Color of the drag-and-drop reorder indicator line. |
--hierarchy-indent | 0.75rem | Indent width per nesting level. |
--hierarchy-item-font-size | 0.75rem | Row label font size. |
--hierarchy-item-height | 1.5rem | Row height. |
--hierarchy-item-padding-left | 0.5rem | Row left padding. |