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

How to change the speed of progressbar? #37

Closed oztek22 closed 7 years ago

oztek22 commented 7 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request

Current behavior Couldn't find setting to modify speed.

Expected/desired behavior feature which allow me to change the speed of progressbar

Please tell us about your environment:

mjhugo commented 7 years ago

you can set the interval, e.g.

        this.slimLoadingBarService.interval = 50;
        this.slimLoadingBarService.start(() => {
           //...
akserg commented 7 years ago

Hi @oztek22

Are you happy with solution @mjhugo mentioned above?

oztek22 commented 7 years ago

@mjhugo thanks and @akserg yes I'm happy with the solution. So, I'm closing my question.

akserg commented 7 years ago

Ok.