fix(router): reset URL to the stable state when a navigation gets canceled

Closes #10321
This commit is contained in:
vsavkin
2016-11-02 11:30:00 -07:00
parent 8e221b826f
commit d509ee078b
3 changed files with 42 additions and 8 deletions

View File

@ -228,7 +228,7 @@ export declare class RouterLink {
routerLink: any[] | string;
urlTree: UrlTree;
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy);
onClick(button: number, ctrlKey: boolean, metaKey: boolean): boolean;
onClick(): boolean;
}
/** @stable */