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

Method getType

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

* Gets the type of the input. Returns "textarea" if the input is * a textarea.

()

Source from the content-addressed store, hash-verified

76 * a textarea.
77 */
78 async getType(): Promise<string> {
79 // The "type" property of the native input is never undefined.
80 return await (await this.host()).getProperty<string>('type');
81 }
82
83 /** Gets the placeholder of the input. */
84 async getPlaceholder(): Promise<string> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected