Open oussama-benmahmoud opened 8 years ago
This would be great and I'm also looking for a feedback of this being possibile.
Something like this:
var bodyElement = document.body;
var bodyNProgress = new NProgress(bodyElement);
var otherElement = document.getElementById("other");
var otherNProgress = new NProgress(otherElement);
bodyNProgress.start();
Would be great to have such feature
There should be such feature, for now, you can run the NgProgress.configure every time you want to run NgProgress.start for each instance, not a great solution but works in my react app.
This PR will enable you to have multi instance #179
Any feedback on this?
Any updates on this? Thanks!!
check this out http://pchiwan.github.io/nprogress/
And is it real now?
want
if you are looking just for this feature, i have it in a forked package https://www.npmjs.com/package/multi-nprogress
if you are looking just for this feature, i have it in a forked package https://www.npmjs.com/package/multi-nprogress
goodjob!
Hi, Is it possible to instantiate nprogress multiple time, I wanted to use it in different DOM elements not globally?
Here's what I've done:
If I call Ajax in different DOM to get some data, the nprogress will be used one time in one place only for the first ajax call.