floatingLabel property

  1. @Input()
bool floatingLabel
getter/setter pair

Whether or not the label "floats".

If false, the label disappears when text is entered into the box. If true, it instead "floats" up above the input.

Implementation

@Input()
bool floatingLabel = false;