1.0.4 • Published 6 years ago

timer-ng7 v1.0.4

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

timer-lib-app NPM version Build Status

Timer angular library

Installation

$ npm install --save timer-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-timer></tmr-timer> in html

License

MIT © Irfan

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago