- EmberJS - Home
- EmberJS - Overview
- EmberJS - Installation
- EmberJS - Core Concepts
- Creating and Running Application
- EmberJS - Object Model
- EmberJS - Router
- EmberJS - Templates
- EmberJS - Components
- EmberJS - Models
- EmberJS - Managing Dependencies
- EmberJS - Application Concerns
- EmberJS - Configuring Ember.js
- EmberJS - Ember Inspector
Selected Reading
Preventing and Retrying Transitions
When Ember Router transfers the transition object to various hooks, then hook can abort the transition by using transition.abort() method and can be re-attempted, if transition object is stored by using the transition.retry() method.
The below table shows different ways of preventing and retrying transitions during a route transition −
| S.No. | Transition & Description |
|---|---|
| 1 | Preventing Transitions Via willTransition
It fires the willTransition action on currently active routes when you reattempt the transition by using the {{link-to}} helper or transitionTo method. |
| 2 | Aborting Transitions
The destination routes use a transition object to abort the attempted transitions. |
emberjs_router.htm
Advertisements