@femessage/count-down
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @femessage/count-down

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

41.4 kB

Total Files

11

Last publish

Collaborators

  • levy9527