- EmberJS Tutorial
- 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
- EmberJS Useful Resources
- EmberJS - Quick Guide
- EmberJS - Useful Resources
- EmberJS - Discussion
EmberJS - Router Aborting Transitions
The destination routes use a transition object to abort the attempted the transitions.
Syntax
Ember.Route.extend ({ actions: { willTransition(transition) { //do the condition for abort transiton transition.abort(); } });
For example, refer this link chapter. This depicts the aborting transitions on active route by using the willTransition action.
emberjs_router.htm
Advertisements