ng2-analogical-countdown
v0.1.3
Published
[![](https://img.shields.io/badge/npm-v4.0.1-brightgreen.svg)](https://www.npmjs.com/package/ng2-analogical-countdown)
Downloads
3
Maintainers
Readme
ng2-analogical-countdown
Installation
To install this library, run:
$ npm install ng2-analogical-countdown --save
Usage
In order to use animation, please include Animation Module from angular v4.x
to your project:
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CountDownModule } from 'ng2-analogical-countdown';
@NgModule({
imports: [ BrowserModule, BrowserAnimationsModule, CountDownModule ],
...
})
export class AppModule {}
Now you can use analogical-countdown directive in your Angular application:
<analogical-countdown [time]="18000" (beep)="beep()"></analogical-countdown>
License
MIT © Jaime