Request: Make progress percent value accessible globally
I was just wondering if it would be possible to make the current 'percent' value available outside of the IronRouterProgress template. For one of my routes, I'd like to display a loading bar in the middle of the page instead of at the top, and figured I could re-purpose the 'percent' value for this use case. Maybe this would just require setting a Session value?
Not sure if it's a good idea or not, or if there is a way to do it with the current API, so if anyone has any other suggestions, I'd like to hear them.
Thank you.
At the moment I'd suggest you try with just CSS, as it might just be enough.
I am working on the idea of letting the user override the templates completely, and also loading the template where they want. It's currently on the drafting table tho.