0.0.3 • Published 6 years ago

final-countdown v0.0.3

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

FinalCountdown

Countdown to a given date with real time update.

Build Status

Demo page.

Usage

Required parameters

<final-countdown [endDate]="endDate"></final-countdown>

Where endDate is anything that can be passed to JavaScript's new Date(endDate).

Optionals parameters

<final-countdown 
  [endDate]="endDate"
  overdue="Overdue!"
  days="days"
  hours="h"
  minutes="m"
  seconds="s"
  left="left."
></final-countdown>

Where each optional parameter is a string used to compose the countdown display. The values here are de default one (if not specified) and can be modified.