I am looking to enhance the loading screen for our angular 9 application. Currently, we are utilizing
<div [ngClass]="isLoading ? 'loading' : ''>
in each component along with the isloading: boolean
variable.
Whenever an API call is made, we switch the value of this variable to true which triggers a spinning wheel to appear, freezing the app until the API call completes. Once finished, we set back the value to false and display the content to the user.
I am interested in creating a customized loading screen to provide additional information. Does anyone have any suggestions or solutions for implementing this?