# vue-component-count-down

> vue 倒计时组件

Latest version **0.0.2** (published 2018-11-07) · 0 weekly downloads

## Install

```sh
npm install vue-component-count-down
pnpm add vue-component-count-down
yarn add vue-component-count-down
bun add vue-component-count-down
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-11-07 |
| First published | 2018-11-07 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 1 |
| Unpacked size | 1 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | fulin.wfl |
| Maintainers | wangfulin |

## Links

- npm: https://www.npmjs.com/package/vue-component-count-down
- npm.io page: https://npm.io/package/vue-component-count-down

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.2

## Recent versions

- 0.0.2 (latest) — 2018-11-07
- 0.0.1 — 2018-11-07

## README

# vue-component-popup

> 弹层组件

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report
```

## 功能介绍
该组件是一个倒计时组件：
1. countDownMilliSeconds: 倒计的的毫秒数
2. autoStart：是否开启倒计时
3. interval: 间隔多少更新倒计时
4. isEmit：是否发送相关的事件

## 示例
```
<template>
  <div id="app">
    <img src="./assets/logo.png" />
    <CountDown :countDownMilliSeconds="12312312312">
      <template slot-scope="props">
        <p>总共还有：{{props.days}} 天 {{props.hours}} 小时 {{props.minutes}} 分 {{props.seconds}} 秒 {{props.milliseconds}} 毫秒</p>
        <p>总共还剩：{{props.totalDays}} 天 </p>
        <p>总共还剩：{{props.totalHours}}小时</p>
        <p>总共还剩：{{props.totalMinutes}}分</p>
        <p>总共还剩：{{props.totalSeconds}}秒</p>
        <p>总共还剩：{{props.totalMilliseconds}}毫秒</p>
      </template>
    </CountDown>
  </div>
</template>

<script>
import CountDown from './components/CountDown'

export default {
  name: 'App',
  components: {
    CountDown
  }
}
</script>
```


For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

---
_Source: https://npm.io/package/vue-component-count-down · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
