@@ -55,18 +55,18 @@ export class MDCFloatingLabelFoundation extends MDCFoundation<MDCFloatingLabelAd
5555 }
5656
5757 init ( ) {
58- this . adapter_ . registerInteractionHandler ( 'animationend' , this . shakeAnimationEndHandler_ ) ;
58+ this . adapter . registerInteractionHandler ( 'animationend' , this . shakeAnimationEndHandler_ ) ;
5959 }
6060
6161 destroy ( ) {
62- this . adapter_ . deregisterInteractionHandler ( 'animationend' , this . shakeAnimationEndHandler_ ) ;
62+ this . adapter . deregisterInteractionHandler ( 'animationend' , this . shakeAnimationEndHandler_ ) ;
6363 }
6464
6565 /**
6666 * Returns the width of the label element.
6767 */
6868 getWidth ( ) : number {
69- return this . adapter_ . getWidth ( ) ;
69+ return this . adapter . getWidth ( ) ;
7070 }
7171
7272 /**
@@ -76,9 +76,9 @@ export class MDCFloatingLabelFoundation extends MDCFoundation<MDCFloatingLabelAd
7676 shake ( shouldShake : boolean ) {
7777 const { LABEL_SHAKE } = MDCFloatingLabelFoundation . cssClasses ;
7878 if ( shouldShake ) {
79- this . adapter_ . addClass ( LABEL_SHAKE ) ;
79+ this . adapter . addClass ( LABEL_SHAKE ) ;
8080 } else {
81- this . adapter_ . removeClass ( LABEL_SHAKE ) ;
81+ this . adapter . removeClass ( LABEL_SHAKE ) ;
8282 }
8383 }
8484
@@ -89,10 +89,10 @@ export class MDCFloatingLabelFoundation extends MDCFoundation<MDCFloatingLabelAd
8989 float ( shouldFloat : boolean ) {
9090 const { LABEL_FLOAT_ABOVE , LABEL_SHAKE } = MDCFloatingLabelFoundation . cssClasses ;
9191 if ( shouldFloat ) {
92- this . adapter_ . addClass ( LABEL_FLOAT_ABOVE ) ;
92+ this . adapter . addClass ( LABEL_FLOAT_ABOVE ) ;
9393 } else {
94- this . adapter_ . removeClass ( LABEL_FLOAT_ABOVE ) ;
95- this . adapter_ . removeClass ( LABEL_SHAKE ) ;
94+ this . adapter . removeClass ( LABEL_FLOAT_ABOVE ) ;
95+ this . adapter . removeClass ( LABEL_SHAKE ) ;
9696 }
9797 }
9898
@@ -103,15 +103,15 @@ export class MDCFloatingLabelFoundation extends MDCFoundation<MDCFloatingLabelAd
103103 setRequired ( isRequired : boolean ) {
104104 const { LABEL_REQUIRED } = MDCFloatingLabelFoundation . cssClasses ;
105105 if ( isRequired ) {
106- this . adapter_ . addClass ( LABEL_REQUIRED ) ;
106+ this . adapter . addClass ( LABEL_REQUIRED ) ;
107107 } else {
108- this . adapter_ . removeClass ( LABEL_REQUIRED ) ;
108+ this . adapter . removeClass ( LABEL_REQUIRED ) ;
109109 }
110110 }
111111
112112 private handleShakeAnimationEnd_ ( ) {
113113 const { LABEL_SHAKE } = MDCFloatingLabelFoundation . cssClasses ;
114- this . adapter_ . removeClass ( LABEL_SHAKE ) ;
114+ this . adapter . removeClass ( LABEL_SHAKE ) ;
115115 }
116116}
117117
0 commit comments