Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to reset settimeout in javascript

// Get a reference to the timeout and call wwindow.clearTimeout() on 
// that refrence. 
let timeoutHandle = window.setTimeout(...);

window.clearTimeout(timeoutHandle);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reset #settimeout #javascript
ADD COMMENT
Topic
Name
7+5 =