packages/mdc-textfield/foundation.js
/**
   * Handles validation attribute changes
   * @param {Array<MutationRecord>} mutationsList
   * @private
   */
Handles validation attribute changes
@param {Array} mutationsList
@private
Handles validation attribute changes @param { Array } mutationsList @private
handleValidationAttributeMutation_(mutationsList) {
    mutationsList.some((mutation) => {
      if (VALIDATION_ATTR_WHITELIST.indexOf(mutation.attributeName) > -1) {
        this.styleValidity_(true);
        return true;
      }
    });
  }
handleValidationAttributeMutation_ ( mutationsList ) { mutationsList . some ( ( mutation ) => { if ( VALIDATION_ATTR_WHITELIST . indexOf ( mutation . attributeName ) > - 1 ) { this . styleValidity_ ( true ) ; return true ; } } ) ; }
Handles validation attribute changes
 @param {Array<MutationRecord>} mutationsList
 @private
Handles validation attribute changes @param { Array<MutationRecord > } mutationsList @private