demo/bundle.js
/**
               * Styles the label to produce the label shake for errors.
               * @param {boolean} shouldShake adds shake class if true,
               * otherwise removes shake class.
               */
Styles the label to produce the label shake for errors.
@param {boolean} shouldShake adds shake class if true,
otherwise removes shake class.
Styles the label to produce the label shake for errors . @param { boolean } shouldShake adds shake class if true otherwise removes shake class .
shake(shouldShake) {
                const {LABEL_SHAKE} = MDCFloatingLabelFoundation.cssClasses;
                if (shouldShake) {
                  this.adapter_.addClass(LABEL_SHAKE);
                } else {
                  this.adapter_.removeClass(LABEL_SHAKE);
                }
              }
shake ( shouldShake ) { const { LABEL_SHAKE } = MDCFloatingLabelFoundation . cssClasses ; if ( shouldShake ) { this . adapter_ . addClass ( LABEL_SHAKE ) ; } else { this . adapter_ . removeClass ( LABEL_SHAKE ) ; } }
Styles the label to produce the label shake for errors.
Styles the label to produce the label shake for errors .