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. |
Previous Page:-Click Here
Pingback: EmberJS - Router Aborting Transitions - Adglob Infosystem Pvt Ltd
Pingback: EmberJS - Router - Adglob Infosystem Pvt Ltd
I loved your article.Thanks Again. Cool.