Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ clear
Method
clear
src/cdk/tree/tree.spec.ts:1632–1635 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1630
}
1631
1632
clear() {
1633
this.data = [];
1634
this.dataIndex = 0;
1635
}
1636
}
1637
1638
function
getNodes(treeElement: Element): HTMLElement[] {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected