The Wayback Machine - https://web.archive.org/web/20240920155637/https://angular.dev/api/router/RedirectFunction/
@angular/router

RedirectFunction

Type Alias

The type for the function that can be used to handle redirects when the path matches a Route config.

  
    type RedirectFunction = (  redirectData: Pick<    ActivatedRouteSnapshot,    'routeConfig' | 'url' | 'params' | 'queryParams' | 'fragment' | 'data' | 'outlet' | 'title'  >,) => string | UrlTree
  
  
Jump to details
HTTPS · web.archive.org
← Home