Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用flipclock.js。
这是我的初始代码:
clock = new FlipClock($('.clock'), { clockFace: 'Counter', autoStart: false, minimumDigits: 6, });
是否可以设置一个起始整数,例如。234943,以后改成423345等不一一计算?
设置初始值:
clock = new FlipClock($('.clock'), 234943, { clockFace: 'Counter', autoStart: false, minimumDigits: 6, });
您可以使用以下方法更新值:
clock.setTime(423345);