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

Method expandAll

src/cdk/tree/control/flat-tree-control.ts:69–71  ·  view source on GitHub ↗

* Expands all data nodes in the tree. * * To make this working, the `dataNodes` variable of the TreeControl must be set to all flattened * data nodes of the tree.

()

Source from the content-addressed store, hash-verified

67 * data nodes of the tree.
68 */
69 expandAll(): void {
70 this.expansionModel.select(...this.dataNodes.map(node => this._trackByValue(node)));
71 }
72}

Callers

nothing calls this directly

Calls 1

selectMethod · 0.65

Tested by

no test coverage detected