Skip to content

TransitionProperties object in angular route

Jan Verhaeghe edited this page Nov 3, 2016 · 6 revisions

Before start

Make sure you are familiar with:

Overview

PermTransitionProperties object is angular Value structure that if used with angular-route holds properties of the state transition inherited form $routeChangeStart event. It can met as parameter in all programmatic available methods in Permission module like: route access only and except, redirectTo used as functions or Permission events where some of the properties are exposed. All of the properties of TransitionProperties are described in the table below:

Value type Usage
current Source route definition object
next Target route parameters object

💡 Note
As all the values passed to PermTransitionProperties are references to it's original values modification of those is not recommended, because may lead to unpredictable behaviour of angular-route.