Skip to content

Commit

Permalink
fix(textfield): Add function docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-kachurin committed Nov 15, 2017
1 parent cd71a42 commit 4ca4db6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mdc-textfield/foundation.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ class MDCTextFieldFoundation extends MDCFoundation {
}
}

/**
* @private
*/
updateDefaultValidity_() {
if (!this.useCustomValidityChecking_) {
const input = this.getNativeInput_();
Expand Down Expand Up @@ -281,6 +284,7 @@ class MDCTextFieldFoundation extends MDCFoundation {
* Updates the state of the Text Field's helper text based on validity and
* the Text Field's options.
* @param {boolean} isValid
* @private
*/
updateHelperText_(isValid) {
const {HELPER_TEXT_PERSISTENT, HELPER_TEXT_VALIDATION_MSG} = MDCTextFieldFoundation.cssClasses;
Expand Down

0 comments on commit 4ca4db6

Please sign in to comment.