mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
@@ -35,7 +35,7 @@ import {UrlTree} from '../url_tree';
|
||||
* For example, `['/team', teamId, 'user', userName, {details: true}]`
|
||||
* generates a link to `/team/11/user/bob;details=true`.
|
||||
*
|
||||
* Multiple static segments can be merged into one term and combined with dynamic segements.
|
||||
* Multiple static segments can be merged into one term and combined with dynamic segments.
|
||||
* For example, `['/team/11/user', userName, {details: true}]`
|
||||
*
|
||||
* The input that you provide to the link is treated as a delta to the current URL.
|
||||
|
||||
@@ -50,7 +50,7 @@ export interface IsActiveMatchOptions {
|
||||
* - `'exact'`: all segments in each `UrlTree` must match.
|
||||
* - `'subset'`: a `UrlTree` will be determined to be active if it
|
||||
* is a subtree of the active route. That is, the active route may contain extra
|
||||
* segments, but must at least have all the segements of the `UrlTree` in question.
|
||||
* segments, but must at least have all the segments of the `UrlTree` in question.
|
||||
*/
|
||||
paths: 'exact'|'subset';
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user