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

Method with

src/material/table/testing/row-harness.ts:96–101  ·  view source on GitHub ↗

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

(
    this: ComponentHarnessConstructor<T>,
    options: RowHarnessFilters = {},
  )

Source from the content-addressed store, hash-verified

94 * @return a `HarnessPredicate` configured with the given options.
95 */
96 static with<T extends MatHeaderRowHarness>(
97 this: ComponentHarnessConstructor<T>,
98 options: RowHarnessFilters = {},
99 ): HarnessPredicate<T> {
100 return new HarnessPredicate(this, options);
101 }
102}
103
104/** Harness for interacting with an Angular Material table footer row. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected