UrlMatchResult

From Get docs
< @angular/routerAngular/docs/10/api/router/urlmatchresult


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

  • UrlMatcher()

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