Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

countdown timer with moment js

var timer = moment.duration(5, "seconds").timer({loop: true}, function() {
  // Callback
});
Source by momentjscom.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #countdown #timer #moment #js
ADD COMMENT
Topic
Name
8+5 =