Spec-Zone.ru › Angular

defaultUrlMatcher

Matches the route configuration (route) against the actual URL (segments).

UrlMatchResultRoute

API

function defaultUrlMatcher(
  segments: UrlSegment[],
  segmentGroup: UrlSegmentGroup,
  route: Route,
): UrlMatchResult | null;
@paramsegmentsUrlSegment[]

The remaining unmatched segments in the current navigation

@paramsegmentGroupUrlSegmentGroup

The current segment group being matched

@paramrouteRoute

The Route to match against.

@returnsUrlMatchResult | null

The resulting match information or null if the route should not match.

Description

Matches the route configuration (route) against the actual URL (segments).

When no matcher is defined on a Route, this is the matcher used by the Router by default.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/router/defaultUrlMatcher

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API