MCPcopy
hub / github.com/angular/components / isReadonly

Method isReadonly

src/material/input/testing/input-harness.ts:58–60  ·  view source on GitHub ↗

Whether the input is readonly.

()

Source from the content-addressed store, hash-verified

56
57 /** Whether the input is readonly. */
58 async isReadonly(): Promise<boolean> {
59 return (await this.host()).getProperty<boolean>('readOnly');
60 }
61
62 /** Gets the value of the input. */
63 async getValue(): Promise<string> {

Callers 1

Calls 1

getPropertyMethod · 0.65

Tested by

no test coverage detected