Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to break out of setinterval

    var timerId = setInterval(function(){

       if(window.document.drops.isFinished()){
           clearInterval(timerId);
       }

    },1000);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #break #setinterval
ADD COMMENT
Topic
Name
1+4 =