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

Function getMirrorValue

src/material/datepicker/date-range-input-parts.ts:149–152  ·  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

147
148 /** Gets the value that should be used when mirroring the input's size. */
149 getMirrorValue(): string {
150 const value = this._rawValue();
151 return value.length > 0 ? value : this._getPlaceholder();
152 }
153
154 /** Refreshes the error state of the input. */
155 updateErrorState() {

Callers

nothing calls this directly

Calls 1

_getPlaceholderMethod · 0.80

Tested by

no test coverage detected