Skip to content

FEMessage/count-down

Repository files navigation

count-down

Build Status NPM Download NPM Version NPM License PRs Welcome Automated Release Notes by gren

A user friendly vue count-down component 😃

demo

中文文档

Table of Contents

Introduction

Use requestAnimationFrame

The count-down use requestAnimationFrame inside, so it can handle any browser situation whether is busy or not, and still works.

Millisecond

Use slot to get milliseconds in countdown

Smart default format

The default format will adjust by the props which are days, hours, minutes & seconds. e.g., when hours=1, the default format will be hh 时 mm 分 ss 秒

⬆ Back to Top

Links

⬆ Back to Top

Install

yarn add @femessage/count-down

⬆ Back to Top

Inspiration

The api & implementation designs are inspired by

⬆ Back to Top

Contributing

For those who are interested in contributing to this project, such as:

  • report a bug
  • request new feature
  • fix a bug
  • implement a new feature

Please refer to our contributing guide.

⬆ Back to Top

Contributors

Thanks goes to these wonderful people (emoji key):

Donald Shen
Donald Shen

💻 📖 ⚠️
Shoyuf
Shoyuf

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

⬆ Back to Top

License

MIT

⬆ Back to Top