CodeByZach / pace

Automatically add a progress bar to your site.
https://codebyzach.github.io/pace/
MIT License
15.68k stars 1.9k forks source link

Can pace start on the old page before start loading the new page #482

Open wisamx opened 5 years ago

wisamx commented 5 years ago

Hello!

I have the problem of server delay response. So I need a way to confirm to the use that he has clicked the link and the page is being loaded. So I want pace.js not just to be shown on the new page. instead I want it to show on the old page just after the user clicks a link or a button.

can that be done using pace. or i need another way.

Thanks!

jonhassall commented 4 years ago

Try this, the method works for me: https://github.com/HubSpot/pace/issues/129#issuecomment-225423431