demo/bundle.js
/**
               * Styles the component based on the focused state.
               * @param {boolean} isFocused
               * @private
               */
Styles the component based on the focused state.
@param {boolean} isFocused
@private
Styles the component based on the focused state . @param { boolean } isFocused @private
styleFocused_(isFocused) {
                const {FOCUSED} = MDCTextFieldFoundation.cssClasses;
                if (isFocused) {
                  this.adapter_.addClass(FOCUSED);
                } else {
                  this.adapter_.removeClass(FOCUSED);
                }
              }
styleFocused_ ( isFocused ) { const { FOCUSED } = MDCTextFieldFoundation . cssClasses ; if ( isFocused ) { this . adapter_ . addClass ( FOCUSED ) ; } else { this . adapter_ . removeClass ( FOCUSED ) ; } }
Styles the component based on the focused state.
Styles the component based on the focused state .