@angular/router

createUrlTreeFromSnapshot

function

Creates a UrlTree relative to an ActivatedRouteSnapshot.

  
    createUrlTreeFromSnapshot(  relativeTo: ActivatedRouteSnapshot,  commands: any[],  queryParams?: Params,  fragment?: string): UrlTree;
  
  
Jump to details