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

Loading Template Not Working

$
0
0

@rizkiandrianto wrote:

Hello, I use Ajax to render component.
I want to have 'loading screen' for every route.
Would you guys help me to make the loading screen?
If global loading page is not possible at least just for every single page.

What I've done (based on Documentation):
1. Nesting route :

- app
- | templates
- - | category
- - - | woman
- - - - | index.hbs
- - - - | loading.hbs

I also tried :

- app
- | templates
- - | category
- - - | woman
- - - - | index.hbs
- - - | loading.hbs
  1. Put action in route (app/routes/category/woman/index)
    actions: {
    loading(){
    alert('loading')
    }
    }

They all doesn't work..

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4838

Trending Articles