IsActiveMatchOptions
interface
A set of options which specify how to determine if a UrlTree
is active, given the UrlTree
for the current router state.
API
interface IsActiveMatchOptions {}
matrixParams
"exact" | "subset" | "ignored"
Defines the strategy for comparing the matrix parameters of two UrlTree
s.
The matrix parameter matching is dependent on the strategy for matching the
segments. That is, if the paths
option is set to 'subset'
, only
the matrix parameters of the matching segments will be compared.
'exact'
: Requires that matching segments also have exact matrix parameter matches.'subset'
: The matching segments in the router's activeUrlTree
may contain extra matrix parameters, but those that exist in theUrlTree
in question must match.'ignored'
: When comparingUrlTree
s, matrix params will be ignored.
queryParams
"exact" | "subset" | "ignored"
Defines the strategy for comparing the query parameters of two UrlTree
s.
paths
"exact" | "subset"
Defines the strategy for comparing the UrlSegment
s of the UrlTree
s.
Jump to details