hd-countdown-time

0.1.2 • Public • Published

hd-countdown-time

介绍:00:00:00格式,倒计时指令,传入时间戳按秒计数

使用方法

npm install  hd-countdown-time -D

main.js修改

import installDirectives from 'hd-countdown-time'
Vue.use(installDirectives)

vue界面中使用

<div v-time="dataTime"></div>

参数: dataTime:时间戳的差值

Readme

Keywords

none

Package Sidebar

Install

npm i hd-countdown-time

Weekly Downloads

1

Version

0.1.2

License

none

Unpacked Size

89.8 kB

Total Files

5

Last publish

Collaborators

  • qianyezhu