@@ -19,16 +19,18 @@ Published with partial Ivy compilation.
19
19
20
20
A ` RouterStore ` service has the following public properties:
21
21
22
- | API | Description |
23
- | ------------------------------------------------------------------ | ------------------------------------------ |
24
- | ` currentRoute$: Observable<MinimalActivatedRouteSnapshot> ` | Select the current route. |
25
- | ` fragment$: Observable<string \| null> ` | Select the current route fragment. |
26
- | ` queryParams$: Observable<Params> ` | Select the current route query parameters. |
27
- | ` routeData$: Observable<Data> ` | Select the current route data. |
28
- | ` routeParams$: Observable<Params> ` | Select the current route parameters. |
29
- | ` url$: Observable<string> ` | Select the current URL. |
30
- | ` selectQueryParam(param: string): Observable<string \| undefined> ` | Select the specified query parameter. |
31
- | ` selectRouteParam(param: string): Observable<string \| undefined> ` | Select the specified route parameter. |
22
+ | API | Description |
23
+ | ----------------------------------------------------------------------- | ------------------------------------------ |
24
+ | ` currentRoute$: Observable<MinimalActivatedRouteSnapshot> ` | Select the current route. |
25
+ | ` fragment$: Observable<string \| null> ` | Select the current route fragment. |
26
+ | ` queryParams$: Observable<Params> ` | Select the current route query parameters. |
27
+ | ` routeData$: Observable<Data> ` | Select the current route data. |
28
+ | ` routeParams$: Observable<Params> ` | Select the current route parameters. |
29
+ | ` title$: Observable<string \| undefined> ` | Select the resolved route title. |
30
+ | ` url$: Observable<string> ` | Select the current URL. |
31
+ | ` selectQueryParam(param: string): Observable<string \| undefined> ` | Select the specified query parameter. |
32
+ | ` selectRouteData<TValue>(key: string): Observable<TValue \| undefined> ` | Select the specified route data. |
33
+ | ` selectRouteParam(param: string): Observable<string \| undefined> ` | Select the specified route parameter. |
32
34
33
35
A ` RouterStore ` service is provided by using either ` provideGlobalRouterStore ` or ` provideLocalRouterStore ` .
34
36
0 commit comments