MCPcopy Create free account
hub / github.com/angular/components / createTreeItemElement

Function createTreeItemElement

src/aria/private/tree/tree.spec.ts:48–53  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

46}
47
48function createTreeItemElement(id: string): HTMLElement {
49 const element = document.createElement('div');
50 element.role = 'treeitem';
51 element.id = id;
52 return element;
53}
54
55interface TestTreeItem<V> {
56 value: V;

Callers 1

buildItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected