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

Method getValue

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

Gets the value of the input.

()

Source from the content-addressed store, hash-verified

61
62 /** Gets the value of the input. */
63 async getValue(): Promise<string> {
64 // The "value" property of the native input is never undefined.
65 return await (await this.host()).getProperty<string>('value');
66 }
67
68 /** Gets the name of the input. */
69 async getName(): Promise<string> {

Callers 2

withMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected