File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { action } from '@ember/object';
1717 * 
1818 * Use the following as a base: 
1919 * ```hbs 
20-  * <myTag class='{{if this.focused " md-focused"}}' disabled={{this.disabled}} tabindex={{if this.disabled "-1" "0"}} {{did-insert this.registerListeners}} {{will-destroy this.unregisterListeners }} ...attributes> 
20+  * <myTag class='{{if this.focused " md-focused"}}' disabled={{this.disabled}} tabindex={{if this.disabled "-1" "0"}} {{did-insert this.registerListeners}} {{will-destroy this.deregisterListeners }} ...attributes> 
2121 * </myTag> 
2222 * ``` 
2323 */ 
@@ -68,7 +68,7 @@ export default class Focusable extends Component {
6868    } ) ; 
6969  } 
7070
71-   @action  unregisterListeners ( element )  { 
71+   @action  deregisterListeners ( element )  { 
7272    element . removeEventListener ( 'focusin' ,  this . handleFocusIn ) ; 
7373    element . removeEventListener ( 'focusout' ,  this . handleFocusOut ) ; 
7474    element . removeEventListener ( 'mousedown' ,  this . handleMouseDown ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments