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

Function getText

src/material/table/testing/cell-harness.ts:18–20  ·  view source on GitHub ↗

Gets the cell's text.

()

Source from the content-addressed store, hash-verified

16export abstract class _MatCellHarnessBase extends ContentContainerComponentHarness {
17 /** Gets the cell's text. */
18 async getText(): Promise<string> {
19 return (await this.host()).text();
20 }
21
22 /** Gets the name of the column that the cell belongs to. */
23 async getColumnName(): Promise<string> {

Callers

nothing calls this directly

Calls 1

textMethod · 0.65

Tested by

no test coverage detected