1.1.5 • Published 4 years ago

countdown-vue v1.1.5

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

countdown-vue

A simple countdown timer component for VueJS 2.

screenshot

Installation

npm

npm i countdown-vue --save

Usage

<template>
  <div>
    <Countdown end="August 22, 2022" showDays showHours showMinutes showSeconds :endFunction="function"></Countdown>
    or 
    <Countdown end="2018-03-16T00:42:24.000Z" showDays showHours showMinutes showSeconds :endFunction="function"></Countdown>
  </div>
</template>
<script>
import Countdown from 'countdown-vue'

export default {
  components: { Countdown }
}
</script>

The only prop that is required is end.

Other Config

You can stop the countdown timer anytime by passing back stop props.

Based on gentanwar's plugin

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

0.1.2

6 years ago

0.0.1

6 years ago