Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 4ca4db6

Browse files
fix(textfield): Add function docs
1 parent cd71a42 commit 4ca4db6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/mdc-textfield/foundation.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ class MDCTextFieldFoundation extends MDCFoundation {
251251
}
252252
}
253253

254+
/**
255+
* @private
256+
*/
254257
updateDefaultValidity_() {
255258
if (!this.useCustomValidityChecking_) {
256259
const input = this.getNativeInput_();
@@ -281,6 +284,7 @@ class MDCTextFieldFoundation extends MDCFoundation {
281284
* Updates the state of the Text Field's helper text based on validity and
282285
* the Text Field's options.
283286
* @param {boolean} isValid
287+
* @private
284288
*/
285289
updateHelperText_(isValid) {
286290
const {HELPER_TEXT_PERSISTENT, HELPER_TEXT_VALIDATION_MSG} = MDCTextFieldFoundation.cssClasses;

0 commit comments

Comments
 (0)