Home     Source

SLV Loading Indicator (Angular 5)


This small, demo program makes 2 request to a server.

  • loading of 1st post of a selected user
  • loading of comments of the post

(Select other user to see how it works.)

SLV loading indicator appears with 1st XHR issue and finishes when 2nd one is done. The requests are sequential but the indicator successfully combine the stages of data downloading and shows it as a solid process.

The point is that you don't need to insert some additional stuff in your code to get this result. Just import SLV loading indicator module and it will start to work.