0.0.2 ā€¢ Published 4 years ago

@crv/vue-countdown v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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 nameTypeDefaultDescription
currentTimenumbernowCurrent time(server time better)
startTimenumbernowCountdown start time
endTimenumbernowCountdown end time
startTextstringDistance Starttext before countdown
runningTextstringDistance Endtext running countdown
endTextstringIt's overtext after countdown
dayTxtstringday(s)day_text
hourTxtstring:hour_text
minutesTxtstring:minutes_text
secondsTxtstring:seconds_text
showTipbooleantruetip message display
showTimeBeforebooleantruebefore countdown show time
showTimeAfterbooleantrueafter countdown show time

Events

Event nameTypeDescription
onStartFunctioncountdown start callback
onEndFunctioncountdown 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