Skip to content

Mathou54/finalCountdown

Repository files navigation

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.

About

Countdown to a given date with real time update

Resources

License

Stars

Watchers

Forks

Packages

No packages published