填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

Navigation

Information about a navigation operation. Retrieve the most recent navigation object with the router.getCurrentNavigation() method.

type Navigation = { id: number; initialUrl: string | UrlTree; extractedUrl: UrlTree; finalUrl?: UrlTree; trigger: 'imperative' | 'popstate' | 'hashchange'; extras: NavigationExtras; previousNavigation: Navigation | null; };
      
      type Navigation = {
    id: number;
    initialUrl: string | UrlTree;
    extractedUrl: UrlTree;
    finalUrl?: UrlTree;
    trigger: 'imperative' | 'popstate' | 'hashchange';
    extras: NavigationExtras;
    previousNavigation: Navigation | null;
};