timer-ng7
v1.0.4
Published
Timer angular library
Downloads
22
Maintainers
Readme
timer-lib-app

Timer angular library
Installation
$ npm install --save timer-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-timer></tmr-timer>
in html
License
MIT © Irfan