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

Method floatLabel

src/material/form-field/form-field.ts:259–261  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257 /** Whether the label should always float or float as the user types. */
258 @Input()
259 get floatLabel(): FloatLabelType {
260 return this._floatLabel || this._defaults?.floatLabel || DEFAULT_FLOAT_LABEL;
261 }
262 set floatLabel(value: FloatLabelType) {
263 if (value !== this._floatLabel) {
264 this._floatLabel = value;

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected