Animation support in Ember 1.1

Good point. It would not know how to do this. {{linkBack}} would only work if the browser actually has a history. Which is suitable when you have routes that can be navigated to from many places.

If you know that your item detail should always go back to list view, you can do:

this.transitionTo('listview')
  .setTransitionEffect('slideRight');

I would also be fine with adding a transitionEffect property on {{linkTo}}:

{{linkTo "listview" transitionEffect="slideRight"}}Back to list view{{/linkTo}}
1 Like