Recursive hierarchy data consumed by cem-tree, which owns treeitem buttons, expansion and selection.
Full examples and variation matrix · Property playground · Automated stories
Public attributes and slots
Public attribute inventory| Attribute | Contract |
|---|
| icon | Decorative plain-text glyph consumed by cem-tree; separate from label and accessible name. |
|---|
| kind | Classification metadata; project, resource/file/configuration and output consume canonical identity paint in cem-tree. |
|---|
value | one |
|---|
label | One |
|---|
expandable | absent / present |
|---|
disabled | absent / present |
|---|
loading | absent / present |
|---|
class | Consumer styling |
|---|
hidden | Native host visibility |
|---|
dir | Native direction |
|---|
Default slot contains nested cem-tree-item children. The consuming tree owns presentation.
Five theme modes
Standalone payload
Standalone payload
Standalone payload
Standalone payload
Standalone payload
Projected content
ContentHidden by presence
{cem-module-url @slice=sourceUrl @src="@epa-wg/cem-components/components/cem-tree-item/cem-tree-item.xhtml"}{cem:if @test="datadom.slices.sourceUrl" | {p | {a @href="{$datadom.slices.sourceUrl}" | Open canonical XHTML}}{cem-demo-element @legend="Canonical source" @src="{$datadom.slices.sourceUrl}" @type=xml @demo=false}}