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

Conditional loading

$
0
0

@mission wrote:

Hi,

I'd like to load different models according to the set user preferences... The user has them defined as "modules" via hasMany... I just don't know how to conditionally load this modules (multiple different model loads). So multiple models which are conditionally defined in a route and the conditionally show in the template.

I'd like to use this in a "dashboard" page... where i would show an overview from different modules... so basically making the same query as I'm using for the model index (just with limit record set).

I'm using ember 2.2 with ember-data 2.3 and ember-simple-auth 1.0.0

Thank you!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles