Changing speed of loading bar not working with chnging ghostTime
Hi @zackbloom
i am using pace.js to show the progress of a long running php script. I have set startOnPageLoad to false so that it may not start on page load but only when submit button is pressed. I am able to run it after button click but its ghostTime is not working accordingly and bar completes to 99% very fast and then wait for page to load. Can you tell how can i run this by adding delay of own choice.
Thanks
Js Code:
ghostTime just determines how long it waits after it's completed to remove progress widget.
If you're script runs at approx. the same speed each time you can try configuring the "maxProgressPerFrame" setting.
Here is a full list of the other options you can play with, including descriptions: https://github.com/HubSpot/pace/blob/master/pace.coffee