Closed

Description
I'm sorry if it has been answered elsewhere, but I only found documentation with turbolinks, but not pjax. How can I configure nprogress so it displays the "true" loading % progress of pjax requests ?
Thanks a lot !
This is my code :
$(document).pjax('a', '#pjax-container');
$(document).on('pjax:send', function() { NProgress.start(); })
$(document).on('pjax:complete', function() { NProgress.done(); })
$(document).on('pjax:timeout', function(event) { event.preventDefault(); })
From what I get it "simulates" loading, but not the actual progression. Is such a thing even possible ?
Metadata
Metadata
Assignees
Labels
No labels