We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b7ba5 commit 09791d7Copy full SHA for 09791d7
examples/simple-counter-minimum-digits.html
@@ -0,0 +1,27 @@
1
+<html>
2
+ <head>
3
+ <link rel="stylesheet" href="../compiled/flipclock.css">
4
+
5
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
6
7
+ <script src="../compiled/flipclock.js"></script>
8
+ </head>
9
+ <body>
10
+ <div class="clock" style="margin:2em;"></div>
11
12
+ <script type="text/javascript">
13
+ var clock;
14
15
+ $(document).ready(function() {
16
17
+ // Instantiate a counter
18
+ clock = new FlipClock($('.clock'), {
19
+ clockFace: 'Counter',
20
+ autoStart: true,
21
+ minimumDigits: 6
22
+ });
23
24
+ </script>
25
26
+ </body>
27
+</html>
0 commit comments