Skip to content

xiaxiangfeng/count-down

Repository files navigation

倒计时插件

倒计时插件

从NPM下载包

# 暂时未上传
npm i count-down

使用方式

import { clock } from './clock'
// 开始
const clockObj = clock('df_clock', '2018/01/01 00:00:00').start()
// 停止
clockObj.stop()

创建演示实例

# 打包编译实例代码
# 用浏览器打开example文件夹下的index.html
npm run build

创建类库

# 打包类库(把ts编译成es5代码)
npm run prepublish

演示地址

http://xiaxiangfeng.github.io/count-down/

About

一个js写的倒计时插件(A countdown plugin written by JS)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy