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

Method _getPlaceholder

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

Gets the current placeholder of the form field.

()

Source from the content-addressed store, hash-verified

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

Callers 3

placeholderMethod · 0.80
getMirrorValueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected