W3cubDocs

/Angular 11

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