This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

UrlMatchResult

Represents the results of the URL matching.

See more...

type UrlMatchResult = { consumed: UrlSegment[]; posParams?: { [name: string]: UrlSegment; }; };
      
      type UrlMatchResult = {
    consumed: UrlSegment[];
    posParams?: {
        [name: string]: UrlSegment;
    };
};
    

Description

  • consumed is an array of the consumed URL segments.
  • posParams is a map of positional parameters.