Barba: How to show a progress bar during page transition

Created on 4 Sep 2016  路  4Comments  路  Source: barbajs/barba

Hi,

Barba.js is really awesome thank you so much for making and sharing it ..

I have this question and I'll very much appreciate it if you give an answer, I am not very good at JavaScript though .. just a newbe

I want to show a progress bar during the the page change right after the old container fades out and before the new container fades in, which shows the the loading progress. something like pace.js

Is that possible?

Thanks ..

Most helpful comment

Hey @ershad989 you could use Pace JS which automatically detects when a new page is loading and displays a progress bar.

All 4 comments

Actually one of the examples have a progress bar, this one:

http://www.poigneedemainvirile.com/

If you could make a demo with a progress bar that would be great ..

@ershad989 : I don't have a demo at the moment but it should be pretty easy to add a loader inside the transition.

@luruke Thank you for the reply,

I should be easy but I dont really know how to insert a PROGRESS BAR between transitions

Hey @ershad989 you could use Pace JS which automatically detects when a new page is loading and displays a progress bar.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mellis84 picture Mellis84  路  3Comments

S1SYPHOS picture S1SYPHOS  路  3Comments

shanewmurphy picture shanewmurphy  路  3Comments

kram08980 picture kram08980  路  3Comments

khanprog picture khanprog  路  4Comments