1.0.3 • Published 5 years ago

awbeci-ng-countdown v1.0.3

Weekly downloads
6
License
-
Repository
github
Last release
5 years ago

NgCountdowner

NgCountdowner is a configurable Angular 6 countdown timer.

<app-ng-countdowner
   [countDownTimerVisible]="true"
   [start]="'10/5/2017 20:21:40'"
   [end]="'11/1/2019 00:00'"
   [expiryMessage]="'This is a custom expiry message'"
   (timerExpired)="handleEvent($event)"
</app-ng-countdowner>

Configuration fields

PropertyDescriptionDefault valueFormatRequiredData type
countDownTimerVisibleEnable countdown timertrueNboolean
expiryMessageCustom message to display once countdown expiresNstring
startstart date of countdown timermm/d/yyyy hh:mm:ssNstring
endend date of countdown timermm/d/yyyy hh:mm:ssYstring

Events

EventsDescriptionData
timerExpiredemits when countdown endsobject
1.0.3

5 years ago