WorkoutRunnerComponent, is the central piece of our 7 Minute Workout app and it will contain the logic to execute the workout.
What we are going to do in the WorkoutRunnerComponent implementation is as follows:
- Start the workout
- Show the workout in progress and show the progress indicator
- After the time elapses for an exercise, show the next exercise
- Repeat this process until all the exercises are over
We are ready to create (or scaffold) our component.
From the command line, navigate to the src/app folder and execute the following ng command:
ng generate component workout-runner -is
The generator generates a bunch of files (three) in the workout-runner folder and updates the module declaration ...