feat(router_link): add skipLocationChange and replaceUrl inputs (#12850)
This commit is contained in:

committed by
Victor Berchet

parent
1b5384ee54
commit
46d150266b
4
tools/public_api_guard/router/index.d.ts
vendored
4
tools/public_api_guard/router/index.d.ts
vendored
@ -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);
|
||||
|
Reference in New Issue
Block a user