Dzmitry Shylovich
69fa3bbc03
feat(router): add an extra argument to CanDeactivate interface (#13560)
Adds a `nextState` argument to access the future url from `CanDeactivate`.
BEFORE:
canDeactivate(component: T, route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean>|Promise<boolean>|boolean;
AFTER:
canDeactivate(component: T, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<boolean>|Promise<boolean>|boolean;
Closes #9853
2016-12-27 14:08:06 -08:00
..
2016-08-08 09:15:59 -07:00
2016-11-17 14:10:59 -08:00
2016-12-06 10:41:01 -08:00
2016-11-29 23:21:41 -08:00
2016-09-27 17:12:25 -07:00
2016-12-27 14:08:06 -08:00
2016-11-09 16:24:58 -08:00
2016-11-11 11:15:17 -08:00
2016-09-27 17:12:25 -07:00
2016-11-01 11:28:43 -07:00
2016-12-05 10:57:24 -08:00
2016-10-20 10:58:53 -07:00
2016-12-08 18:42:58 -08:00
2016-11-11 13:23:47 -08:00