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

Method with

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

* Gets a `HarnessPredicate` that can be used to search for a tree with specific attributes. * @param options Options for narrowing the search * @return a `HarnessPredicate` configured with the given options.

(options: TreeHarnessFilters = {})

Source from the content-addressed store, hash-verified

25 * @return a `HarnessPredicate` configured with the given options.
26 */
27 static with(options: TreeHarnessFilters = {}): HarnessPredicate<TreeHarness> {
28 return new HarnessPredicate(TreeHarness, options);
29 }
30
31 /** Gets all of the items in the tree. */
32 async getItems(filter: TreeItemHarnessFilters = {}): Promise<TreeItemHarness[]> {

Callers 1

getItemsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected