UrlMatchResult

type-alias

npm Package @angular/router
Module import { UrlMatchResult } from '@angular/router';
Source router/src/config.ts

Represents the results of the URL matching.

  • consumed is an array of the consumed URL segments.
  • posParams is a map of positional parameters.
type UrlMatchResult = {
  consumed: UrlSegment[]; posParams?: {[name: string]: UrlSegment};
};

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