akserg / ng2-slim-loading-bar

Angular 2 component shows slim loading bar at the top of the page.
MIT License
358 stars 93 forks source link

Make interval configurable #41

Open artstalker opened 7 years ago

artstalker commented 7 years ago

Hi,

We have super fast app which still requires slim loading bar. We use this tool, but the requests are finished much faster than slim loading bar shows it.

It happens because there is public interval:number = 500; // in milliseconds in your code.

Can you please make this parameter configurable? I would like to set 100 milliseconds.

akserg commented 7 years ago

Hi,

Check the solution in that answer: https://github.com/akserg/ng2-slim-loading-bar/issues/37