MCPcopy
hub / github.com/angular/components / getItems

Method getItems

src/aria/tree/testing/tree-harness.ts:32–34  ·  view source on GitHub ↗

Gets all of the items in the tree.

(filter: TreeItemHarnessFilters = {})

Source from the content-addressed store, hash-verified

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

Callers 2

getTreeStructureMethod · 0.95

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected