angular-cn/tools/public_api_guard
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
..
common feat(common): export NgLocaleLocalization (#13367) 2016-12-12 11:16:12 -08:00
compiler fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
core refactor(core): fix typo (#13515) 2016-12-16 15:21:58 -08:00
forms fix(forms): introduce checkbox required validator 2016-12-14 08:44:24 -08:00
http feat(http): simplify URLSearchParams creation (#13338) 2016-12-09 15:38:29 -08:00
platform-browser feat(platform browser): introduce Meta service (#12322) 2016-12-08 18:44:28 -08:00
platform-browser-dynamic feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
platform-server feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
platform-webworker feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
platform-webworker-dynamic feat(build): record angular version in the dom (#13164) 2016-11-30 13:52:08 -08:00
router feat(router): add an extra argument to CanDeactivate interface (#13560) 2016-12-27 14:08:06 -08:00
upgrade feat(upgrade): enable Angular 1 unit testing of upgrade module 2016-12-14 13:02:27 -08:00