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

Method _getPlaceholder

src/material/input/input.ts:479–481  ·  view source on GitHub ↗

Gets the current placeholder of the form field.

()

Source from the content-addressed store, hash-verified

477
478 /** Gets the current placeholder of the form field. */
479 protected _getPlaceholder(): string | null {
480 return this.placeholder || null;
481 }
482
483 /** Make sure the input is a supported type. */
484 protected _validateType() {

Callers 3

placeholderMethod · 0.80
getMirrorValueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected