Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Choosing between `loading` action and `loading` template

$
0
0

@vmalloc wrote:

I am writing an application in ember and so far I'm using the loading substate on the application route to indicate that the app is loading data. This works great when transitioning between routes and displays a nice spinner on the top of the page.

However, I noticed that while using this technique, accessing the app for the first time (not transitioning between routes) displays a white blank page until the app finishes loading. Adding a loading template under my app doesn't seem to work because it seems ember ignores it given the loading action...

Can anyone point me at how to get both behaviors to work as expected - get a loading animation to display when landing in the app as well as transitioning between routes?

Thanks in advance

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles