MCPcopy Index your code
hub / github.com/angular/components / getNodes

Method getNodes

src/material/tree/testing/tree-harness.ts:33–35  ·  view source on GitHub ↗

Gets all of the nodes in the tree.

(filter: TreeNodeHarnessFilters = {})

Source from the content-addressed store, hash-verified

31
32 /** Gets all of the nodes in the tree. */
33 async getNodes(filter: TreeNodeHarnessFilters = {}): Promise<MatTreeNodeHarness[]> {
34 return this.locatorForAll(MatTreeNodeHarness.with(filter))();
35 }
36
37 /**
38 * Gets an object representation for the visible tree structure

Callers 3

getTreeStructureMethod · 0.95

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected