@blackmiaool/vuejs-countdown

0.2.1 • Public • Published

vuejs-countdown

A simple countdown timer component for VueJS 2.

screenshot

Installation

npm

npm i vuejs-countdown --save

Usage

<template>
  <div>
    <Countdown deadline="August 22, 2022"></Countdown>
    or 
    <Countdown end="August 22, 2022"></Countdown>
  </div>
</template>
<script>
import Countdown from 'vuejs-countdown'

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

Other Config

You can stop the countdown timer anytime by passing true (Boolean) with stop props.

Caution

Please don't provide any confusing date format since it has no dependency to Moment.js or any other date helpers.

/@blackmiaool/vuejs-countdown/

    Package Sidebar

    Install

    npm i @blackmiaool/vuejs-countdown

    Weekly Downloads

    0

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    11 kB

    Total Files

    4

    Last publish

    Collaborators

    • blackmiaool