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

Method with

src/material/tree/testing/node-harness.ts:29–31  ·  view source on GitHub ↗

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

(options: TreeNodeHarnessFilters = {})

Source from the content-addressed store, hash-verified

27 * @return a `HarnessPredicate` configured with the given options.
28 */
29 static with(options: TreeNodeHarnessFilters = {}): HarnessPredicate<MatTreeNodeHarness> {
30 return getNodePredicate(MatTreeNodeHarness, options);
31 }
32
33 /** Whether the tree node is expanded. */
34 async isExpanded(): Promise<boolean> {

Callers

nothing calls this directly

Calls 1

getNodePredicateFunction · 0.85

Tested by

no test coverage detected