Skip to content

Commit 5e03c0a

Browse files
committed
Updated example
1 parent a5a4fa7 commit 5e03c0a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

examples/simple-counter.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@
4646
$('.reset').click(function() {
4747
clock.reset();
4848
});
49+
50+
/*
51+
// Use this code if you want to autoincrement the counter.
52+
var timer = new FlipClock.Timer(clock, {
53+
callbacks: {
54+
interval: function() {
55+
clock.increment();
56+
}
57+
}
58+
});
59+
60+
timer.start();
61+
*/
4962
});
5063
</script>
5164

0 commit comments

Comments
 (0)