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

Function getMirrorValue

src/material/datepicker/date-range-input-parts.ts:143–146  ·  view source on GitHub ↗

Gets the value that should be used when mirroring the input's size.

()

Source from the content-addressed store, hash-verified

141
142 /** Gets the value that should be used when mirroring the input's size. */
143 getMirrorValue(): string {
144 const value = this._rawValue();
145 return value.length > 0 ? value : this._getPlaceholder();
146 }
147
148 /** Refreshes the error state of the input. */
149 updateErrorState() {

Callers

nothing calls this directly

Calls 1

_getPlaceholderMethod · 0.80

Tested by

no test coverage detected