1.0.2 • Published 6 years ago

timer-ms-ng7 v1.0.2

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

timer-lib-app NPM version Build Status

Timer with miliseconds angular library

Installation

$ npm install --save timer-ms-ng7

Usage

  1. Import TimerLibModule in app module.
  2. Define "@ViewChild(TimerComponent) child: TimerComponent" in your component's class.
  3. To start timer call this.child.startTimer() method
  4. To stop timer call this.child.stopTimer() method
  5. To reset timer call this.child.resetTimer() method
  6. Add <tmr-ms-timer></tmr-ms-timer> in html

License

MIT © Irfan