https://github.com/ronffy/hrcountdown
精确到毫秒的倒计时
https://github.com/ronffy/hrcountdown
Last synced: 10 months ago
JSON representation
精确到毫秒的倒计时
- Host: GitHub
- URL: https://github.com/ronffy/hrcountdown
- Owner: ronffy
- Created: 2016-08-03T10:19:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-09T10:48:55.000Z (about 8 years ago)
- Last Synced: 2025-07-22T14:12:18.620Z (11 months ago)
- Language: JavaScript
- Homepage: https://ronffy.github.io/HrCountdown
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HrCountdown 精确到毫秒的倒计时js插件
## 如何使用
```javascript
HrCountdown({
date : "2017-8-3 18:57:11",
box : $("#timeBox"),
end : function(_this){ } //倒计时结束后的回调,传进来的实参是实例的this指针
});
```
或者
```javascript
HrCountdown({
date : 1454567000123,
box : $("#timeBox"),
end : function(_this){ } //倒计时结束后的回调,传进来的实参是实例的this指针
});
```