countdown-vue

1.1.5 • Public • Published

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

Package Sidebar

Install

npm i countdown-vue

Weekly Downloads

8

Version

1.1.5

License

MIT

Unpacked Size

11 kB

Total Files

4

Last publish

Collaborators

  • rvehall