feat(router): Allow navigation without updating the URL (#9608)
This commit is contained in:
3
tools/public_api_guard/router/index.d.ts
vendored
3
tools/public_api_guard/router/index.d.ts
vendored
@ -106,6 +106,7 @@ export interface NavigationExtras {
|
||||
preserveQueryParams?: boolean;
|
||||
queryParams?: Params;
|
||||
relativeTo?: ActivatedRoute;
|
||||
skipLocationChange?: boolean;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
@ -173,7 +174,7 @@ export declare class Router {
|
||||
initialNavigation(): void;
|
||||
isActive(url: string | UrlTree, exact: boolean): boolean;
|
||||
navigate(commands: any[], extras?: NavigationExtras): Promise<boolean>;
|
||||
navigateByUrl(url: string | UrlTree): Promise<boolean>;
|
||||
navigateByUrl(url: string | UrlTree, extras?: NavigationExtras): Promise<boolean>;
|
||||
ngOnDestroy(): void;
|
||||
parseUrl(url: string): UrlTree;
|
||||
resetConfig(config: Routes): void;
|
||||
|
Reference in New Issue
Block a user