在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:robcowie/jquery-stopwatch开源软件地址:https://github.com/robcowie/jquery-stopwatch开源编程语言:JavaScript 88.5%开源软件介绍:Simple count-up jQuery pluginSummaryA jQuery plugin that renders a count-up clock from a defined start time. Supports Usage
$('').stopwatch().stopwatch('start')
$('').stopwatch().click(function(){
$(this).stopwatch('toggle')
})
$('').stopwatch().bind('tick.stopwatch', function(e, elapsed){
if (elapsed >= 10000) {
$(this).stopwatch('reset');
}
}).stopwatch('start')
$('').stopwatch({startTime: 10000000}).stopwatch('start') FormattingProvided by the jintervals lib. If you don't
include this library, the default output format FormatsPass a format pattern as the '{MM}:{ss}' --> 01:05
'{MMM}:{ss}' --> 001:05
'{M}m, {s}s' --> 1m, 5s
'{Minutes} and {seconds}' --> 1 minute and 5 seconds
'{Greatest} ago' --> 1 minute ago The full documentation of the syntax is at http://code.google.com/p/jintervals/wiki/Documentation. Custom formatterA formatter function can be supplied as LicenceCopyright (c) 2012 Rob Cowie. Licensed under the MIT license. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论