iron-router-progress icon indicating copy to clipboard operation
iron-router-progress copied to clipboard

Request: Make progress percent value accessible globally

Open moberegger opened this issue 11 years ago • 1 comments

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.

moberegger avatar Nov 11 '14 21:11 moberegger

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.

Multiply avatar Nov 11 '14 21:11 Multiply