- 
      
 - 
        
Save Nikolasgrizli/08adb01db605902f6117a982f5e460e3 to your computer and use it in GitHub Desktop.  
    Window resize-end function
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //Resize Window | |
| function onResize() { | |
| }; | |
| var doit; | |
| doit = setTimeout(onResize, 400); | |
| window.onresize = function() { | |
| clearTimeout(doit); | |
| doit = setTimeout(onResize, 400); | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment