IsActiveMatchOptions
A set of options which specify how to determine if a UrlTree
is active, given the UrlTree
for the current router state.
interface IsActiveMatchOptions {
matrixParams: 'exact' | 'subset' | 'ignored'
queryParams: 'exact' | 'subset' | 'ignored'
paths: 'exact' | 'subset'
fragment: 'exact' | 'ignored'
}
参见
Router.isActive
属性
属性 | 说明 |
---|---|
matrixParams: 'exact' | 'subset' | 'ignored' | Defines the strategy for comparing the matrix parameters of two The matrix parameter matching is dependent on the strategy for matching the segments. That is, if the
|
queryParams: 'exact' | 'subset' | 'ignored' | Defines the strategy for comparing the query parameters of two |
paths: 'exact' | 'subset' | Defines the strategy for comparing the |
fragment: 'exact' | 'ignored' |
|