Skip to content

setintval timmer 倒计时JQ插件 带0.1秒显示效果

Notifications You must be signed in to change notification settings

moonwalkercui/cui-timmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

cui-timer

倒计时超级插件

  • 样式类名可以自定义。
  • 调用元素中需要加入data-config属性
  • 支持自定义到时回调函数

HTML规范

  • HTML:
  • js: <script src="../jquery.min.js"></script> <script src="cui-timer.js"></script> <script"> $(function(){ $('.cui-timer').Cuitimer() }); </script>

参数规范

  • endtime结束时间,
  • msec是否显示毫秒,
  • callback 时间到自定义回调函数
  • 请在html标签中加入自定义data-config属性,如data-config = '{"endtime":"2017-5-2 10:10:33","msec":false,"callback":"diyFunc"}'

@author

About

setintval timmer 倒计时JQ插件 带0.1秒显示效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published