Styles the label to float or dock.
If true, adds the float CSS class; otherwise, removes float and shake classes to dock the label.
Returns the width of the label element.
Styles the label to produce a shake animation to indicate an error.
If true, adds the shake CSS class; otherwise, removes shake class.
Generated using TypeDoc
See MDCFloatingLabelAdapter for typing information on parameters and return types.