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

Transition.params vs transition.queryParams?

$
0
0

@Ping wrote:

In the context of route's beforeModel(transition), I am trying to get hold of the params being passed in from a link-to. But I keep getting undefined from transition.queryParams.foo so I use transition.params['controller'].foo instead.

I probably missed the docs but what's the difference between transition.params and transition.queryParams? And which is the right way to obtain the params from link-to in beforeModel()?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4831

Trending Articles