0 votes
in Angular Material by
Explain Angular Material Inputs

1 Answer

0 votes
by

The angular material input-container is a used to contains any <input> or <textarea> element as a child. It also supports error handling using ng-message directives and animates messages using ngEnter / ngLeave events or ngShow / ngHide events.

The following table lists the parameters and descriptions of many attributes of the md-input-container.

ParametersDescription
md-maxlengthThe working of md-maxlength is to show the full-length text. If you do not want counter text and only require "plain" verification, you can use "simple" NG-Maxlometer features.
aria-labelIt is used when the label is not present there. A warning message is seen in the console if the label is not present.
placeholderA placeholder is an approach that is used where the label is not present.
md-no-auto growWhen md-no-auto grow will present there, textareas will not grow automatically.
md-detect-hiddenTextarea will be the same size as it appears after being hidden when md-detect-hidden present. It is, by default, reverses every reflex cycle.
...