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

Method getText

src/material/dialog/testing/dialog-harness.ts:87–89  ·  view source on GitHub ↗

Gets the dialog's text.

()

Source from the content-addressed store, hash-verified

85
86 /** Gets the dialog's text. */
87 async getText() {
88 return (await this.host()).text();
89 }
90
91 /** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */
92 async getTitleText() {

Callers 1

Calls 1

textMethod · 0.65

Tested by

no test coverage detected