W3cubDocs

/Angular

UrlMatchResult

type-alias

Represents the result of matching URLs with a custom matching function.

See more...

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

See also

Description

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

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/router/UrlMatchResult