feat(router_link): add skipLocationChange and replaceUrl inputs (#12850)

This commit is contained in:
Dzmitry Shylovich
2016-11-15 05:30:13 +03:00
committed by Victor Berchet
parent 1b5384ee54
commit 46d150266b
2 changed files with 17 additions and 5 deletions

View File

@ -232,7 +232,9 @@ export declare class RouterLink {
queryParams: {
[k: string]: any;
};
replaceUrl: boolean;
routerLink: any[] | string;
skipLocationChange: boolean;
urlTree: UrlTree;
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy);
onClick(): boolean;
@ -262,11 +264,13 @@ export declare class RouterLinkWithHref implements OnChanges, OnDestroy {
queryParams: {
[k: string]: any;
};
replaceUrl: boolean;
routerLink: any[] | string;
routerLinkOptions: {
preserveQueryParams: boolean;
preserveFragment: boolean;
};
skipLocationChange: boolean;
target: string;
urlTree: UrlTree;
constructor(router: Router, route: ActivatedRoute, locationStrategy: LocationStrategy);