timer-ms-ng7
v1.0.2
Published
Timer with miliseconds angular library
Downloads
18
Maintainers
Readme
timer-lib-app

Timer with miliseconds angular library
Installation
$ npm install --save timer-ms-ng7
Usage
- Import TimerLibModule in app module.
- Define "@ViewChild(TimerComponent) child: TimerComponent" in your component's class.
- To start timer call this.child.startTimer() method
- To stop timer call this.child.stopTimer() method
- To reset timer call this.child.resetTimer() method
- Add
<tmr-ms-timer></tmr-ms-timer>
in html
License
MIT © Irfan