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

Method isRequired

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

Whether the input is required.

()

Source from the content-addressed store, hash-verified

51
52 /** Whether the input is required. */
53 async isRequired(): Promise<boolean> {
54 return (await this.host()).getProperty<boolean>('required');
55 }
56
57 /** Whether the input is readonly. */
58 async isReadonly(): Promise<boolean> {

Calls 1

getPropertyMethod · 0.65

Tested by

no test coverage detected