0.0.3 • Published 6 years ago

@crv/vue-cutdown v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

vue-cutdown

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

⬆ Back to Top

Demo

Overview

⬆ Back to Top

Usage

Porps

Prop nameTypeDefaultDescription
currentTimenumbernowCurrent time(server time better)
startTimenumbernowCutdown start time
endTimenumbernowCutdown end time
startTextstringDistance Starttext before cutdown
runningTextstringDistance Endtext running cutdown
endTextstringIt's overtext after cutdown
dayTxtstringday(s)day_text
hourTxtstring:hour_text
minutesTxtstring:minutes_text
secondsTxtstring:seconds_text
showTipbooleantruetip message display
showTimeBeforebooleantruebefore cutdown show time
showTimeAfterbooleantrueafter cutdown show time

Events

Event nameTypeDescription
onStartFunctioncutdown start callback
onEndFunctioncutdown end callback

⬆ Back to Top

Links

⬆ Back to Top

Install

$ npm i @crv/vue-cutdown

⬆ 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

⬆ Back to Top

Contributors

Thanks goes to these wonderful people (emoji key):

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

⬆ Back to Top

License

MIT

⬆ Back to Top

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago