W3cubDocs

/Angular 10

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–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/router/UrlMatchResult