I am currently working on an Ionic2 project. It a question/answer page.
I have to create a simple countdown timer with pause/resume functionality.
Scenario is, on page load, countdown timer will start with 40 minutes. On every passing minutes(60 seconds) timer will reduce 1 minute. But if user press the pause button the timer will pause, and whenever the user press resume button the timer will start from previous paused value.
Please help as I cant figure out how to achieve this.