Angular
Angular Material From Scratch

Adding A Progress Indicator

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

Any request that we make to a server is going to take some amount of time to complete. Even if the lag between when a request is sent and when the response is returned is small, it's nice to give the user some indication that something is happening. For this, we can use one of Angular Material's progress indicators. We'll fake out the network request with a setTimeout so we can see it in action.

 

I finished! On to the next tutorial