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

Method _shouldAlwaysFloat

src/material/form-field/form-field.ts:615–617  ·  view source on GitHub ↗

Whether the floating label should always float or not.

()

Source from the content-addressed store, hash-verified

613
614 /** Whether the floating label should always float or not. */
615 _shouldAlwaysFloat() {
616 return this.floatLabel === 'always';
617 }
618
619 _hasOutline() {
620 return this.appearance === 'outline';

Callers 1

_shouldLabelFloatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected