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

Function collapseAll

src/cdk/tree/control/base-tree-control.ts:79–81  ·  view source on GitHub ↗

Collapse all dataNodes in the tree.

()

Source from the content-addressed store, hash-verified

77
78 /** Collapse all dataNodes in the tree. */
79 collapseAll(): void {
80 this.expansionModel.clear();
81 }
82
83 /** Expands a subtree rooted at given data node recursively. */
84 expandDescendants(dataNode: T): void {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected