In Ember, I would like to transitionTo a specific position on a template on another route. Is there a way I can pass a param with transitionTo, to include the named anchor in the url when transitioning? Or use a queryParam, and if the query param, animate to that position?
I've tried the following, but it doesn't seem to be adding the proper ID query param:
this.transitionTo('my.route.name', object1, object2, {
queryParams: {
id: model.get('id')
}
});
Aucun commentaire:
Enregistrer un commentaire