* Implemented as part of MatFormFieldControl. * @docs-private
()
| 1429 | * @docs-private |
| 1430 | */ |
| 1431 | get shouldLabelFloat(): boolean { |
| 1432 | // Since the panel doesn't overlap the trigger, we |
| 1433 | // want the label to only float when there's a value. |
| 1434 | return this.panelOpen || !this.empty || (this.focused && !!this.placeholder); |
| 1435 | } |
| 1436 | } |
| 1437 | |
| 1438 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected