@crv/vue-countdown

0.0.2 • Public • Published

vue-countdown

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

Table of Contents

Introduction

📦 This is a vue plugin base on Vue2.x

Demo

Overview

Usage

Porps

Prop name Type Default Description
currentTime number now Current time(server time better)
startTime number now Countdown start time
endTime number now Countdown end time
startText string Distance Start text before countdown
runningText string Distance End text running countdown
endText string It's over text after countdown
dayTxt string day(s) day_text
hourTxt string : hour_text
minutesTxt string : minutes_text
secondsTxt string : seconds_text
showTip boolean true tip message display
showTimeBefore boolean true before countdown show time
showTimeAfter boolean true after countdown show time

Events

Event name Type Description
onStart Function countdown start callback
onEnd Function countdown end callback

Links

Install

$ npm i @crv/vue-countdown

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

Contributors

Thanks goes to these wonderful people (emoji key):

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

License

MIT

Package Sidebar

Install

npm i @crv/vue-countdown

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

46.5 kB

Total Files

8

Last publish

Collaborators

  • cola_j