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

Method with

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

* Gets a `HarnessPredicate` that can be used to search for a table footer row cell 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

117 * @return a `HarnessPredicate` configured with the given options.
118 */
119 static with<T extends MatFooterRowHarness>(
120 this: ComponentHarnessConstructor<T>,
121 options: RowHarnessFilters = {},
122 ): HarnessPredicate<T> {
123 return new HarnessPredicate(this, options);
124 }
125}
126
127/** Harness for interacting with an Angular Material table "no data" row. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected