From 4ca4db6b125d6ad3f4c6d948263d29e4e7f70432 Mon Sep 17 00:00:00 2001 From: Anton Kachurin Date: Sun, 5 Nov 2017 21:34:06 -0500 Subject: [PATCH] fix(textfield): Add function docs --- packages/mdc-textfield/foundation.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/mdc-textfield/foundation.js b/packages/mdc-textfield/foundation.js index cbb5f48e6bc..f7199902d6b 100644 --- a/packages/mdc-textfield/foundation.js +++ b/packages/mdc-textfield/foundation.js @@ -251,6 +251,9 @@ class MDCTextFieldFoundation extends MDCFoundation { } } + /** + * @private + */ updateDefaultValidity_() { if (!this.useCustomValidityChecking_) { const input = this.getNativeInput_(); @@ -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;