I am trying to transit to a route called home with the following url:
"home/dynamictext1/dynamictext2?queryparam1=2&queryparams2=3"
i also need to pass an object called currentData to the route as well. here is my current code. I was wondering where i should add currentData object and how to access it.
this.transitionToRoute('home',dynamictext1, dynamictext2,{ queryParams:params});
this.route('home', { path: '/:dynamictext1/:dynamictext2' });
Aucun commentaire:
Enregistrer un commentaire